-
Notifications
You must be signed in to change notification settings - Fork 56
/
moc_common_common.pb.go
1614 lines (1459 loc) · 63.9 KB
/
moc_common_common.pb.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
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: moc_common_common.proto
package common
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type Operation int32
const (
Operation_GET Operation = 0
Operation_POST Operation = 1
Operation_DELETE Operation = 2
Operation_UPDATE Operation = 3
Operation_IMPORT Operation = 4
Operation_EXPORT Operation = 5
Operation_VALIDATE Operation = 6
)
var Operation_name = map[int32]string{
0: "GET",
1: "POST",
2: "DELETE",
3: "UPDATE",
4: "IMPORT",
5: "EXPORT",
6: "VALIDATE",
}
var Operation_value = map[string]int32{
"GET": 0,
"POST": 1,
"DELETE": 2,
"UPDATE": 3,
"IMPORT": 4,
"EXPORT": 5,
"VALIDATE": 6,
}
func (x Operation) String() string {
return proto.EnumName(Operation_name, int32(x))
}
func (Operation) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_681f78e46755eb93, []int{0}
}
type ProvisionState int32
const (
ProvisionState_UNKNOWN ProvisionState = 0
ProvisionState_CREATING ProvisionState = 1
ProvisionState_CREATED ProvisionState = 2
ProvisionState_CREATE_FAILED ProvisionState = 3
ProvisionState_DELETING ProvisionState = 4
ProvisionState_DELETE_FAILED ProvisionState = 5
ProvisionState_DELETED ProvisionState = 6
ProvisionState_UPDATING ProvisionState = 7
ProvisionState_UPDATE_FAILED ProvisionState = 8
ProvisionState_UPDATED ProvisionState = 9
ProvisionState_PROVISIONING ProvisionState = 10
ProvisionState_PROVISIONED ProvisionState = 11
ProvisionState_PROVISION_FAILED ProvisionState = 12
ProvisionState_DEPROVISIONING ProvisionState = 13
ProvisionState_DEPROVISIONED ProvisionState = 14
ProvisionState_DEPROVISION_FAILED ProvisionState = 15
ProvisionState_DELETE_PENDING ProvisionState = 16
ProvisionState_IMPORTING ProvisionState = 17
ProvisionState_IMPORTED ProvisionState = 18
ProvisionState_IMPORT_FAILED ProvisionState = 19
)
var ProvisionState_name = map[int32]string{
0: "UNKNOWN",
1: "CREATING",
2: "CREATED",
3: "CREATE_FAILED",
4: "DELETING",
5: "DELETE_FAILED",
6: "DELETED",
7: "UPDATING",
8: "UPDATE_FAILED",
9: "UPDATED",
10: "PROVISIONING",
11: "PROVISIONED",
12: "PROVISION_FAILED",
13: "DEPROVISIONING",
14: "DEPROVISIONED",
15: "DEPROVISION_FAILED",
16: "DELETE_PENDING",
17: "IMPORTING",
18: "IMPORTED",
19: "IMPORT_FAILED",
}
var ProvisionState_value = map[string]int32{
"UNKNOWN": 0,
"CREATING": 1,
"CREATED": 2,
"CREATE_FAILED": 3,
"DELETING": 4,
"DELETE_FAILED": 5,
"DELETED": 6,
"UPDATING": 7,
"UPDATE_FAILED": 8,
"UPDATED": 9,
"PROVISIONING": 10,
"PROVISIONED": 11,
"PROVISION_FAILED": 12,
"DEPROVISIONING": 13,
"DEPROVISIONED": 14,
"DEPROVISION_FAILED": 15,
"DELETE_PENDING": 16,
"IMPORTING": 17,
"IMPORTED": 18,
"IMPORT_FAILED": 19,
}
func (x ProvisionState) String() string {
return proto.EnumName(ProvisionState_name, int32(x))
}
func (ProvisionState) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_681f78e46755eb93, []int{1}
}
type HighAvailabilityState int32
const (
HighAvailabilityState_UNKNOWN_HA_STATE HighAvailabilityState = 0
HighAvailabilityState_STABLE HighAvailabilityState = 1
HighAvailabilityState_PENDING HighAvailabilityState = 2
)
var HighAvailabilityState_name = map[int32]string{
0: "UNKNOWN_HA_STATE",
1: "STABLE",
2: "PENDING",
}
var HighAvailabilityState_value = map[string]int32{
"UNKNOWN_HA_STATE": 0,
"STABLE": 1,
"PENDING": 2,
}
func (x HighAvailabilityState) String() string {
return proto.EnumName(HighAvailabilityState_name, int32(x))
}
func (HighAvailabilityState) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_681f78e46755eb93, []int{2}
}
type HealthState int32
const (
HealthState_NOTKNOWN HealthState = 0
HealthState_OK HealthState = 1
HealthState_WARNING HealthState = 2
HealthState_CRITICAL HealthState = 3
// The entity went missing from the platform
HealthState_MISSING HealthState = 4
HealthState_DEGRADED HealthState = 5
// The entity went missing from the agent
HealthState_NOTFOUND HealthState = 6
)
var HealthState_name = map[int32]string{
0: "NOTKNOWN",
1: "OK",
2: "WARNING",
3: "CRITICAL",
4: "MISSING",
5: "DEGRADED",
6: "NOTFOUND",
}
var HealthState_value = map[string]int32{
"NOTKNOWN": 0,
"OK": 1,
"WARNING": 2,
"CRITICAL": 3,
"MISSING": 4,
"DEGRADED": 5,
"NOTFOUND": 6,
}
func (x HealthState) String() string {
return proto.EnumName(HealthState_name, int32(x))
}
func (HealthState) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_681f78e46755eb93, []int{3}
}
type ValidationStateCode int32
const (
ValidationStateCode_NODE_UNREACHABLE ValidationStateCode = 0
ValidationStateCode_ENTITY_MISSING ValidationStateCode = 1
ValidationStateCode_CLIENT_CREATION_FAILURE ValidationStateCode = 2
ValidationStateCode_FORMAT_INVALID ValidationStateCode = 3
ValidationStateCode_INFO_MISSING ValidationStateCode = 4
ValidationStateCode_INFO_MISMATCH ValidationStateCode = 5
)
var ValidationStateCode_name = map[int32]string{
0: "NODE_UNREACHABLE",
1: "ENTITY_MISSING",
2: "CLIENT_CREATION_FAILURE",
3: "FORMAT_INVALID",
4: "INFO_MISSING",
5: "INFO_MISMATCH",
}
var ValidationStateCode_value = map[string]int32{
"NODE_UNREACHABLE": 0,
"ENTITY_MISSING": 1,
"CLIENT_CREATION_FAILURE": 2,
"FORMAT_INVALID": 3,
"INFO_MISSING": 4,
"INFO_MISMATCH": 5,
}
func (x ValidationStateCode) String() string {
return proto.EnumName(ValidationStateCode_name, int32(x))
}
func (ValidationStateCode) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_681f78e46755eb93, []int{4}
}
type ClientType int32
const (
ClientType_CONTROLPLANE ClientType = 0
ClientType_EXTERNALCLIENT ClientType = 1
ClientType_NODE ClientType = 2
ClientType_ADMIN ClientType = 3
ClientType_BAREMETAL ClientType = 4
ClientType_LOADBALANCER ClientType = 5
ClientType_HOST ClientType = 6
)
var ClientType_name = map[int32]string{
0: "CONTROLPLANE",
1: "EXTERNALCLIENT",
2: "NODE",
3: "ADMIN",
4: "BAREMETAL",
5: "LOADBALANCER",
6: "HOST",
}
var ClientType_value = map[string]int32{
"CONTROLPLANE": 0,
"EXTERNALCLIENT": 1,
"NODE": 2,
"ADMIN": 3,
"BAREMETAL": 4,
"LOADBALANCER": 5,
"HOST": 6,
}
func (x ClientType) String() string {
return proto.EnumName(ClientType_name, int32(x))
}
func (ClientType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_681f78e46755eb93, []int{5}
}
type AuthenticationType int32
const (
AuthenticationType_SELFSIGNED AuthenticationType = 0
AuthenticationType_CASIGNED AuthenticationType = 1
)
var AuthenticationType_name = map[int32]string{
0: "SELFSIGNED",
1: "CASIGNED",
}
var AuthenticationType_value = map[string]int32{
"SELFSIGNED": 0,
"CASIGNED": 1,
}
func (x AuthenticationType) String() string {
return proto.EnumName(AuthenticationType_name, int32(x))
}
func (AuthenticationType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_681f78e46755eb93, []int{6}
}
type ProviderType int32
const (
ProviderType_AnyProvider ProviderType = 0
ProviderType_VirtualMachine ProviderType = 1
ProviderType_VirtualMachineScaleSet ProviderType = 2
ProviderType_LoadBalancer ProviderType = 3
ProviderType_VirtualNetwork ProviderType = 4
ProviderType_VirtualHardDisk ProviderType = 5
ProviderType_GalleryImage ProviderType = 6
ProviderType_VirtualMachineImage ProviderType = 7
ProviderType_NetworkInterface ProviderType = 8
ProviderType_Certificate ProviderType = 9
ProviderType_Key ProviderType = 10
ProviderType_Secret ProviderType = 11
ProviderType_KeyVault ProviderType = 12
ProviderType_Identity ProviderType = 13
ProviderType_Role ProviderType = 14
ProviderType_RoleAssignment ProviderType = 15
ProviderType_Kubernetes ProviderType = 16
ProviderType_Cluster ProviderType = 17
ProviderType_ControlPlane ProviderType = 18
ProviderType_Group ProviderType = 19
ProviderType_Node ProviderType = 20
ProviderType_Location ProviderType = 21
ProviderType_StorageContainer ProviderType = 22
ProviderType_StorageFile ProviderType = 23
ProviderType_StorageDirectory ProviderType = 24
ProviderType_Subscription ProviderType = 25
ProviderType_VipPool ProviderType = 26
ProviderType_MacPool ProviderType = 27
ProviderType_EtcdCluster ProviderType = 28
ProviderType_EtcdServer ProviderType = 29
ProviderType_BareMetalMachine ProviderType = 30
ProviderType_CredentialMonitor ProviderType = 31
ProviderType_Logging ProviderType = 32
ProviderType_Recovery ProviderType = 33
ProviderType_Debug ProviderType = 34
ProviderType_BareMetalHost ProviderType = 35
ProviderType_Authentication ProviderType = 36
ProviderType_HealthMonitor ProviderType = 37
ProviderType_LogicalNetwork ProviderType = 38
ProviderType_AvailabilitySet ProviderType = 39
ProviderType_NetworkSecurityGroup ProviderType = 40
)
var ProviderType_name = map[int32]string{
0: "AnyProvider",
1: "VirtualMachine",
2: "VirtualMachineScaleSet",
3: "LoadBalancer",
4: "VirtualNetwork",
5: "VirtualHardDisk",
6: "GalleryImage",
7: "VirtualMachineImage",
8: "NetworkInterface",
9: "Certificate",
10: "Key",
11: "Secret",
12: "KeyVault",
13: "Identity",
14: "Role",
15: "RoleAssignment",
16: "Kubernetes",
17: "Cluster",
18: "ControlPlane",
19: "Group",
20: "Node",
21: "Location",
22: "StorageContainer",
23: "StorageFile",
24: "StorageDirectory",
25: "Subscription",
26: "VipPool",
27: "MacPool",
28: "EtcdCluster",
29: "EtcdServer",
30: "BareMetalMachine",
31: "CredentialMonitor",
32: "Logging",
33: "Recovery",
34: "Debug",
35: "BareMetalHost",
36: "Authentication",
37: "HealthMonitor",
38: "LogicalNetwork",
39: "AvailabilitySet",
40: "NetworkSecurityGroup",
}
var ProviderType_value = map[string]int32{
"AnyProvider": 0,
"VirtualMachine": 1,
"VirtualMachineScaleSet": 2,
"LoadBalancer": 3,
"VirtualNetwork": 4,
"VirtualHardDisk": 5,
"GalleryImage": 6,
"VirtualMachineImage": 7,
"NetworkInterface": 8,
"Certificate": 9,
"Key": 10,
"Secret": 11,
"KeyVault": 12,
"Identity": 13,
"Role": 14,
"RoleAssignment": 15,
"Kubernetes": 16,
"Cluster": 17,
"ControlPlane": 18,
"Group": 19,
"Node": 20,
"Location": 21,
"StorageContainer": 22,
"StorageFile": 23,
"StorageDirectory": 24,
"Subscription": 25,
"VipPool": 26,
"MacPool": 27,
"EtcdCluster": 28,
"EtcdServer": 29,
"BareMetalMachine": 30,
"CredentialMonitor": 31,
"Logging": 32,
"Recovery": 33,
"Debug": 34,
"BareMetalHost": 35,
"Authentication": 36,
"HealthMonitor": 37,
"LogicalNetwork": 38,
"AvailabilitySet": 39,
"NetworkSecurityGroup": 40,
}
func (x ProviderType) String() string {
return proto.EnumName(ProviderType_name, int32(x))
}
func (ProviderType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_681f78e46755eb93, []int{7}
}
// Operations specific to a provider
// Format is [Provider]_[Operation]
type ProviderAccessOperation int32
const (
ProviderAccessOperation_Unspecified ProviderAccessOperation = 0
ProviderAccessOperation_Authentication_Login ProviderAccessOperation = 100
ProviderAccessOperation_Certificate_Create ProviderAccessOperation = 200
ProviderAccessOperation_Certificate_Update ProviderAccessOperation = 201
ProviderAccessOperation_Certificate_Get ProviderAccessOperation = 202
ProviderAccessOperation_Certificate_Delete ProviderAccessOperation = 203
ProviderAccessOperation_Certificate_Sign ProviderAccessOperation = 204
ProviderAccessOperation_Certificate_Renew ProviderAccessOperation = 205
ProviderAccessOperation_Identity_Create ProviderAccessOperation = 300
ProviderAccessOperation_Identity_Update ProviderAccessOperation = 301
ProviderAccessOperation_Identity_Revoke ProviderAccessOperation = 302
ProviderAccessOperation_Identity_Rotate ProviderAccessOperation = 303
ProviderAccessOperation_IdentityCertificate_Create ProviderAccessOperation = 400
ProviderAccessOperation_IdentityCertificate_Update ProviderAccessOperation = 401
ProviderAccessOperation_IdentityCertificate_Renew ProviderAccessOperation = 402
ProviderAccessOperation_Key_Create ProviderAccessOperation = 500
ProviderAccessOperation_Key_Update ProviderAccessOperation = 501
ProviderAccessOperation_Key_Encrypt ProviderAccessOperation = 502
ProviderAccessOperation_Key_Decrypt ProviderAccessOperation = 503
ProviderAccessOperation_Key_WrapKey ProviderAccessOperation = 504
ProviderAccessOperation_Key_UnwrapKey ProviderAccessOperation = 505
ProviderAccessOperation_Key_Sign ProviderAccessOperation = 506
ProviderAccessOperation_Key_Verify ProviderAccessOperation = 507
ProviderAccessOperation_VirtualMachine_Create ProviderAccessOperation = 600
ProviderAccessOperation_VirtualMachine_Update ProviderAccessOperation = 601
ProviderAccessOperation_VirtualMachine_Delete ProviderAccessOperation = 602
ProviderAccessOperation_VirtualMachine_Validate ProviderAccessOperation = 603
ProviderAccessOperation_VirtualMachine_Start ProviderAccessOperation = 604
ProviderAccessOperation_VirtualMachine_Stop ProviderAccessOperation = 605
ProviderAccessOperation_VirtualMachine_Reset ProviderAccessOperation = 606
ProviderAccessOperation_VirtualMachine_Repair_Guest_Agent ProviderAccessOperation = 607
ProviderAccessOperation_VirtualMachine_Pause ProviderAccessOperation = 608
ProviderAccessOperation_VirtualMachine_Save ProviderAccessOperation = 609
ProviderAccessOperation_Cluster_Create ProviderAccessOperation = 700
ProviderAccessOperation_Cluster_Update ProviderAccessOperation = 701
ProviderAccessOperation_Cluster_LoadCluster ProviderAccessOperation = 702
ProviderAccessOperation_Cluster_UnloadCluster ProviderAccessOperation = 703
ProviderAccessOperation_Cluster_GetCluster ProviderAccessOperation = 704
ProviderAccessOperation_Cluster_GetNodes ProviderAccessOperation = 705
ProviderAccessOperation_Debug_DebugServer ProviderAccessOperation = 800
ProviderAccessOperation_Debug_StackTrace ProviderAccessOperation = 801
ProviderAccessOperation_BaremetalHost_Create ProviderAccessOperation = 900
ProviderAccessOperation_BaremetalHost_Update ProviderAccessOperation = 901
ProviderAccessOperation_BaremetalMachine_Create ProviderAccessOperation = 1000
ProviderAccessOperation_BaremetalMachine_Update ProviderAccessOperation = 1001
ProviderAccessOperation_ControlPlane_Create ProviderAccessOperation = 1100
ProviderAccessOperation_ControlPlane_Update ProviderAccessOperation = 1101
ProviderAccessOperation_EtcdCluster_Create ProviderAccessOperation = 1200
ProviderAccessOperation_EtcdCluster_Update ProviderAccessOperation = 1201
ProviderAccessOperation_EtcdServer_Create ProviderAccessOperation = 1300
ProviderAccessOperation_EtcdServer_Update ProviderAccessOperation = 1301
ProviderAccessOperation_GalleryImage_Create ProviderAccessOperation = 1400
ProviderAccessOperation_GalleryImage_Update ProviderAccessOperation = 1401
ProviderAccessOperation_Group_Create ProviderAccessOperation = 1500
ProviderAccessOperation_Group_Update ProviderAccessOperation = 1501
ProviderAccessOperation_KeyVault_Create ProviderAccessOperation = 1600
ProviderAccessOperation_KeyVault_Update ProviderAccessOperation = 1601
ProviderAccessOperation_Kubernetes_Create ProviderAccessOperation = 1700
ProviderAccessOperation_Kubernetes_Update ProviderAccessOperation = 1701
ProviderAccessOperation_LoadBalancer_Create ProviderAccessOperation = 1800
ProviderAccessOperation_LoadBalancer_Update ProviderAccessOperation = 1801
ProviderAccessOperation_Location_Create ProviderAccessOperation = 1900
ProviderAccessOperation_Location_Update ProviderAccessOperation = 1901
ProviderAccessOperation_Macpool_Create ProviderAccessOperation = 2000
ProviderAccessOperation_Macpool_Update ProviderAccessOperation = 2001
ProviderAccessOperation_NetworkInterface_Create ProviderAccessOperation = 2100
ProviderAccessOperation_NetworkInterface_Update ProviderAccessOperation = 2101
ProviderAccessOperation_Node_Create ProviderAccessOperation = 2200
ProviderAccessOperation_Node_Update ProviderAccessOperation = 2201
ProviderAccessOperation_Recovery_Create ProviderAccessOperation = 2300
ProviderAccessOperation_Recovery_Update ProviderAccessOperation = 2301
ProviderAccessOperation_Role_Create ProviderAccessOperation = 2400
ProviderAccessOperation_Role_Update ProviderAccessOperation = 2401
ProviderAccessOperation_RoleAssignment_Create ProviderAccessOperation = 2500
ProviderAccessOperation_RoleAssignment_Update ProviderAccessOperation = 2501
ProviderAccessOperation_Secret_Create ProviderAccessOperation = 2600
ProviderAccessOperation_Secret_Update ProviderAccessOperation = 2601
ProviderAccessOperation_StorageContainer_Create ProviderAccessOperation = 2700
ProviderAccessOperation_StorageContainer_Update ProviderAccessOperation = 2701
ProviderAccessOperation_Subscription_Create ProviderAccessOperation = 2800
ProviderAccessOperation_Subscription_Update ProviderAccessOperation = 2801
ProviderAccessOperation_Validation_Validate ProviderAccessOperation = 2900
ProviderAccessOperation_VipPool_Create ProviderAccessOperation = 3000
ProviderAccessOperation_VipPool_Update ProviderAccessOperation = 3001
ProviderAccessOperation_VirtualHardDisk_Create ProviderAccessOperation = 3100
ProviderAccessOperation_VirtualHardDisk_Update ProviderAccessOperation = 3101
ProviderAccessOperation_VirtualMachineImage_Create ProviderAccessOperation = 3200
ProviderAccessOperation_VirtualMachineImage_Update ProviderAccessOperation = 3201
ProviderAccessOperation_VirtualMachineScaleSet_Create ProviderAccessOperation = 3300
ProviderAccessOperation_VirtualMachineScaleSet_Update ProviderAccessOperation = 3301
ProviderAccessOperation_VirtualNetwork_Create ProviderAccessOperation = 3400
ProviderAccessOperation_VirtualNetwork_Update ProviderAccessOperation = 3401
ProviderAccessOperation_AvailabilitySet_Create ProviderAccessOperation = 3500
ProviderAccessOperation_AvailabilitySet_Delete ProviderAccessOperation = 3501
ProviderAccessOperation_NetworkSecurityGroup_Create ProviderAccessOperation = 3600
ProviderAccessOperation_NetworkSecurityGroup_Update ProviderAccessOperation = 3601
)
var ProviderAccessOperation_name = map[int32]string{
0: "Unspecified",
100: "Authentication_Login",
200: "Certificate_Create",
201: "Certificate_Update",
202: "Certificate_Get",
203: "Certificate_Delete",
204: "Certificate_Sign",
205: "Certificate_Renew",
300: "Identity_Create",
301: "Identity_Update",
302: "Identity_Revoke",
303: "Identity_Rotate",
400: "IdentityCertificate_Create",
401: "IdentityCertificate_Update",
402: "IdentityCertificate_Renew",
500: "Key_Create",
501: "Key_Update",
502: "Key_Encrypt",
503: "Key_Decrypt",
504: "Key_WrapKey",
505: "Key_UnwrapKey",
506: "Key_Sign",
507: "Key_Verify",
600: "VirtualMachine_Create",
601: "VirtualMachine_Update",
602: "VirtualMachine_Delete",
603: "VirtualMachine_Validate",
604: "VirtualMachine_Start",
605: "VirtualMachine_Stop",
606: "VirtualMachine_Reset",
607: "VirtualMachine_Repair_Guest_Agent",
608: "VirtualMachine_Pause",
609: "VirtualMachine_Save",
700: "Cluster_Create",
701: "Cluster_Update",
702: "Cluster_LoadCluster",
703: "Cluster_UnloadCluster",
704: "Cluster_GetCluster",
705: "Cluster_GetNodes",
800: "Debug_DebugServer",
801: "Debug_StackTrace",
900: "BaremetalHost_Create",
901: "BaremetalHost_Update",
1000: "BaremetalMachine_Create",
1001: "BaremetalMachine_Update",
1100: "ControlPlane_Create",
1101: "ControlPlane_Update",
1200: "EtcdCluster_Create",
1201: "EtcdCluster_Update",
1300: "EtcdServer_Create",
1301: "EtcdServer_Update",
1400: "GalleryImage_Create",
1401: "GalleryImage_Update",
1500: "Group_Create",
1501: "Group_Update",
1600: "KeyVault_Create",
1601: "KeyVault_Update",
1700: "Kubernetes_Create",
1701: "Kubernetes_Update",
1800: "LoadBalancer_Create",
1801: "LoadBalancer_Update",
1900: "Location_Create",
1901: "Location_Update",
2000: "Macpool_Create",
2001: "Macpool_Update",
2100: "NetworkInterface_Create",
2101: "NetworkInterface_Update",
2200: "Node_Create",
2201: "Node_Update",
2300: "Recovery_Create",
2301: "Recovery_Update",
2400: "Role_Create",
2401: "Role_Update",
2500: "RoleAssignment_Create",
2501: "RoleAssignment_Update",
2600: "Secret_Create",
2601: "Secret_Update",
2700: "StorageContainer_Create",
2701: "StorageContainer_Update",
2800: "Subscription_Create",
2801: "Subscription_Update",
2900: "Validation_Validate",
3000: "VipPool_Create",
3001: "VipPool_Update",
3100: "VirtualHardDisk_Create",
3101: "VirtualHardDisk_Update",
3200: "VirtualMachineImage_Create",
3201: "VirtualMachineImage_Update",
3300: "VirtualMachineScaleSet_Create",
3301: "VirtualMachineScaleSet_Update",
3400: "VirtualNetwork_Create",
3401: "VirtualNetwork_Update",
3500: "AvailabilitySet_Create",
3501: "AvailabilitySet_Delete",
3600: "NetworkSecurityGroup_Create",
3601: "NetworkSecurityGroup_Update",
}
var ProviderAccessOperation_value = map[string]int32{
"Unspecified": 0,
"Authentication_Login": 100,
"Certificate_Create": 200,
"Certificate_Update": 201,
"Certificate_Get": 202,
"Certificate_Delete": 203,
"Certificate_Sign": 204,
"Certificate_Renew": 205,
"Identity_Create": 300,
"Identity_Update": 301,
"Identity_Revoke": 302,
"Identity_Rotate": 303,
"IdentityCertificate_Create": 400,
"IdentityCertificate_Update": 401,
"IdentityCertificate_Renew": 402,
"Key_Create": 500,
"Key_Update": 501,
"Key_Encrypt": 502,
"Key_Decrypt": 503,
"Key_WrapKey": 504,
"Key_UnwrapKey": 505,
"Key_Sign": 506,
"Key_Verify": 507,
"VirtualMachine_Create": 600,
"VirtualMachine_Update": 601,
"VirtualMachine_Delete": 602,
"VirtualMachine_Validate": 603,
"VirtualMachine_Start": 604,
"VirtualMachine_Stop": 605,
"VirtualMachine_Reset": 606,
"VirtualMachine_Repair_Guest_Agent": 607,
"VirtualMachine_Pause": 608,
"VirtualMachine_Save": 609,
"Cluster_Create": 700,
"Cluster_Update": 701,
"Cluster_LoadCluster": 702,
"Cluster_UnloadCluster": 703,
"Cluster_GetCluster": 704,
"Cluster_GetNodes": 705,
"Debug_DebugServer": 800,
"Debug_StackTrace": 801,
"BaremetalHost_Create": 900,
"BaremetalHost_Update": 901,
"BaremetalMachine_Create": 1000,
"BaremetalMachine_Update": 1001,
"ControlPlane_Create": 1100,
"ControlPlane_Update": 1101,
"EtcdCluster_Create": 1200,
"EtcdCluster_Update": 1201,
"EtcdServer_Create": 1300,
"EtcdServer_Update": 1301,
"GalleryImage_Create": 1400,
"GalleryImage_Update": 1401,
"Group_Create": 1500,
"Group_Update": 1501,
"KeyVault_Create": 1600,
"KeyVault_Update": 1601,
"Kubernetes_Create": 1700,
"Kubernetes_Update": 1701,
"LoadBalancer_Create": 1800,
"LoadBalancer_Update": 1801,
"Location_Create": 1900,
"Location_Update": 1901,
"Macpool_Create": 2000,
"Macpool_Update": 2001,
"NetworkInterface_Create": 2100,
"NetworkInterface_Update": 2101,
"Node_Create": 2200,
"Node_Update": 2201,
"Recovery_Create": 2300,
"Recovery_Update": 2301,
"Role_Create": 2400,
"Role_Update": 2401,
"RoleAssignment_Create": 2500,
"RoleAssignment_Update": 2501,
"Secret_Create": 2600,
"Secret_Update": 2601,
"StorageContainer_Create": 2700,
"StorageContainer_Update": 2701,
"Subscription_Create": 2800,
"Subscription_Update": 2801,
"Validation_Validate": 2900,
"VipPool_Create": 3000,
"VipPool_Update": 3001,
"VirtualHardDisk_Create": 3100,
"VirtualHardDisk_Update": 3101,
"VirtualMachineImage_Create": 3200,
"VirtualMachineImage_Update": 3201,
"VirtualMachineScaleSet_Create": 3300,
"VirtualMachineScaleSet_Update": 3301,
"VirtualNetwork_Create": 3400,
"VirtualNetwork_Update": 3401,
"AvailabilitySet_Create": 3500,
"AvailabilitySet_Delete": 3501,
"NetworkSecurityGroup_Create": 3600,
"NetworkSecurityGroup_Update": 3601,
}
func (x ProviderAccessOperation) String() string {
return proto.EnumName(ProviderAccessOperation_name, int32(x))
}
func (ProviderAccessOperation) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_681f78e46755eb93, []int{8}
}
type ImageSource int32
const (
ImageSource_LOCAL_SOURCE ImageSource = 0
ImageSource_SFS_SOURCE ImageSource = 1
ImageSource_HTTP_SOURCE ImageSource = 2
ImageSource_CLONE_SOURCE ImageSource = 3
)
var ImageSource_name = map[int32]string{
0: "LOCAL_SOURCE",
1: "SFS_SOURCE",
2: "HTTP_SOURCE",
3: "CLONE_SOURCE",
}
var ImageSource_value = map[string]int32{
"LOCAL_SOURCE": 0,
"SFS_SOURCE": 1,
"HTTP_SOURCE": 2,
"CLONE_SOURCE": 3,
}
func (x ImageSource) String() string {
return proto.EnumName(ImageSource_name, int32(x))
}
func (ImageSource) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_681f78e46755eb93, []int{9}
}
type HyperVGeneration int32
const (
HyperVGeneration_HyperVGenerationV2 HyperVGeneration = 0
HyperVGeneration_HyperVGenerationV1 HyperVGeneration = 1
)
var HyperVGeneration_name = map[int32]string{
0: "HyperVGenerationV2",
1: "HyperVGenerationV1",
}
var HyperVGeneration_value = map[string]int32{
"HyperVGenerationV2": 0,
"HyperVGenerationV1": 1,
}
func (x HyperVGeneration) String() string {
return proto.EnumName(HyperVGeneration_name, int32(x))
}
func (HyperVGeneration) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_681f78e46755eb93, []int{10}
}
type DiskFileFormat int32
const (
DiskFileFormat_DiskFileFormatVHDX DiskFileFormat = 0
DiskFileFormat_DiskFileFormatVHD DiskFileFormat = 1
)
var DiskFileFormat_name = map[int32]string{
0: "DiskFileFormatVHDX",
1: "DiskFileFormatVHD",
}
var DiskFileFormat_value = map[string]int32{
"DiskFileFormatVHDX": 0,
"DiskFileFormatVHD": 1,
}
func (x DiskFileFormat) String() string {
return proto.EnumName(DiskFileFormat_name, int32(x))
}
func (DiskFileFormat) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_681f78e46755eb93, []int{11}
}
type CloudInitDataSource int32
const (
CloudInitDataSource_NoCloud CloudInitDataSource = 0
CloudInitDataSource_Azure CloudInitDataSource = 1
)
var CloudInitDataSource_name = map[int32]string{
0: "NoCloud",
1: "Azure",
}
var CloudInitDataSource_value = map[string]int32{
"NoCloud": 0,
"Azure": 1,
}
func (x CloudInitDataSource) String() string {
return proto.EnumName(CloudInitDataSource_name, int32(x))
}
func (CloudInitDataSource) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_681f78e46755eb93, []int{12}
}
type Error struct {
Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"`
Code int32 `protobuf:"varint,2,opt,name=Code,proto3" json:"Code,omitempty"`
Parameters string `protobuf:"bytes,3,opt,name=Parameters,proto3" json:"Parameters,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Error) Reset() { *m = Error{} }
func (m *Error) String() string { return proto.CompactTextString(m) }
func (*Error) ProtoMessage() {}
func (*Error) Descriptor() ([]byte, []int) {
return fileDescriptor_681f78e46755eb93, []int{0}
}
func (m *Error) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Error.Unmarshal(m, b)
}
func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Error.Marshal(b, m, deterministic)
}
func (m *Error) XXX_Merge(src proto.Message) {
xxx_messageInfo_Error.Merge(m, src)
}
func (m *Error) XXX_Size() int {
return xxx_messageInfo_Error.Size(m)
}
func (m *Error) XXX_DiscardUnknown() {
xxx_messageInfo_Error.DiscardUnknown(m)
}
var xxx_messageInfo_Error proto.InternalMessageInfo
func (m *Error) GetMessage() string {
if m != nil {
return m.Message
}
return ""
}
func (m *Error) GetCode() int32 {
if m != nil {
return m.Code
}
return 0
}
func (m *Error) GetParameters() string {
if m != nil {
return m.Parameters
}
return ""
}
type ProvisionStatus struct {
CurrentState ProvisionState `protobuf:"varint,1,opt,name=currentState,proto3,enum=moc.ProvisionState" json:"currentState,omitempty"`
PreviousState ProvisionState `protobuf:"varint,2,opt,name=previousState,proto3,enum=moc.ProvisionState" json:"previousState,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ProvisionStatus) Reset() { *m = ProvisionStatus{} }
func (m *ProvisionStatus) String() string { return proto.CompactTextString(m) }
func (*ProvisionStatus) ProtoMessage() {}
func (*ProvisionStatus) Descriptor() ([]byte, []int) {
return fileDescriptor_681f78e46755eb93, []int{1}
}
func (m *ProvisionStatus) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ProvisionStatus.Unmarshal(m, b)
}
func (m *ProvisionStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ProvisionStatus.Marshal(b, m, deterministic)
}
func (m *ProvisionStatus) XXX_Merge(src proto.Message) {
xxx_messageInfo_ProvisionStatus.Merge(m, src)
}
func (m *ProvisionStatus) XXX_Size() int {
return xxx_messageInfo_ProvisionStatus.Size(m)
}
func (m *ProvisionStatus) XXX_DiscardUnknown() {
xxx_messageInfo_ProvisionStatus.DiscardUnknown(m)
}
var xxx_messageInfo_ProvisionStatus proto.InternalMessageInfo
func (m *ProvisionStatus) GetCurrentState() ProvisionState {
if m != nil {
return m.CurrentState
}
return ProvisionState_UNKNOWN
}
func (m *ProvisionStatus) GetPreviousState() ProvisionState {
if m != nil {
return m.PreviousState
}
return ProvisionState_UNKNOWN
}
type DownloadStatus struct {
ProgressPercentage int64 `protobuf:"varint,1,opt,name=progressPercentage,proto3" json:"progressPercentage,omitempty"`
DownloadSizeInBytes int64 `protobuf:"varint,2,opt,name=downloadSizeInBytes,proto3" json:"downloadSizeInBytes,omitempty"`
FileSizeInBytes int64 `protobuf:"varint,3,opt,name=fileSizeInBytes,proto3" json:"fileSizeInBytes,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DownloadStatus) Reset() { *m = DownloadStatus{} }
func (m *DownloadStatus) String() string { return proto.CompactTextString(m) }
func (*DownloadStatus) ProtoMessage() {}
func (*DownloadStatus) Descriptor() ([]byte, []int) {
return fileDescriptor_681f78e46755eb93, []int{2}
}
func (m *DownloadStatus) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DownloadStatus.Unmarshal(m, b)
}
func (m *DownloadStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DownloadStatus.Marshal(b, m, deterministic)
}
func (m *DownloadStatus) XXX_Merge(src proto.Message) {
xxx_messageInfo_DownloadStatus.Merge(m, src)
}
func (m *DownloadStatus) XXX_Size() int {
return xxx_messageInfo_DownloadStatus.Size(m)