-
Notifications
You must be signed in to change notification settings - Fork 54
/
moc_cloudagent_virtualmachine.pb.go
1245 lines (1096 loc) · 49.1 KB
/
moc_cloudagent_virtualmachine.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_cloudagent_virtualmachine.proto
package compute
import (
context "context"
fmt "fmt"
proto "github.com/golang/protobuf/proto"
wrappers "github.com/golang/protobuf/ptypes/wrappers"
common "github.com/microsoft/moc/rpc/common"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
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 VMType int32
const (
VMType_TENANT VMType = 0
VMType_LOADBALANCER VMType = 1
VMType_STACKEDCONTROLPLANE VMType = 2
)
var VMType_name = map[int32]string{
0: "TENANT",
1: "LOADBALANCER",
2: "STACKEDCONTROLPLANE",
}
var VMType_value = map[string]int32{
"TENANT": 0,
"LOADBALANCER": 1,
"STACKEDCONTROLPLANE": 2,
}
func (x VMType) String() string {
return proto.EnumName(VMType_name, int32(x))
}
func (VMType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_a65ab853cd24c92b, []int{0}
}
type VirtualMachineRequest struct {
VirtualMachines []*VirtualMachine `protobuf:"bytes,1,rep,name=VirtualMachines,proto3" json:"VirtualMachines,omitempty"`
OperationType common.Operation `protobuf:"varint,2,opt,name=OperationType,proto3,enum=moc.Operation" json:"OperationType,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *VirtualMachineRequest) Reset() { *m = VirtualMachineRequest{} }
func (m *VirtualMachineRequest) String() string { return proto.CompactTextString(m) }
func (*VirtualMachineRequest) ProtoMessage() {}
func (*VirtualMachineRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a65ab853cd24c92b, []int{0}
}
func (m *VirtualMachineRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_VirtualMachineRequest.Unmarshal(m, b)
}
func (m *VirtualMachineRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_VirtualMachineRequest.Marshal(b, m, deterministic)
}
func (m *VirtualMachineRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_VirtualMachineRequest.Merge(m, src)
}
func (m *VirtualMachineRequest) XXX_Size() int {
return xxx_messageInfo_VirtualMachineRequest.Size(m)
}
func (m *VirtualMachineRequest) XXX_DiscardUnknown() {
xxx_messageInfo_VirtualMachineRequest.DiscardUnknown(m)
}
var xxx_messageInfo_VirtualMachineRequest proto.InternalMessageInfo
func (m *VirtualMachineRequest) GetVirtualMachines() []*VirtualMachine {
if m != nil {
return m.VirtualMachines
}
return nil
}
func (m *VirtualMachineRequest) GetOperationType() common.Operation {
if m != nil {
return m.OperationType
}
return common.Operation_GET
}
type VirtualMachineResponse struct {
VirtualMachines []*VirtualMachine `protobuf:"bytes,1,rep,name=VirtualMachines,proto3" json:"VirtualMachines,omitempty"`
Result *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"`
Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *VirtualMachineResponse) Reset() { *m = VirtualMachineResponse{} }
func (m *VirtualMachineResponse) String() string { return proto.CompactTextString(m) }
func (*VirtualMachineResponse) ProtoMessage() {}
func (*VirtualMachineResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_a65ab853cd24c92b, []int{1}
}
func (m *VirtualMachineResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_VirtualMachineResponse.Unmarshal(m, b)
}
func (m *VirtualMachineResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_VirtualMachineResponse.Marshal(b, m, deterministic)
}
func (m *VirtualMachineResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_VirtualMachineResponse.Merge(m, src)
}
func (m *VirtualMachineResponse) XXX_Size() int {
return xxx_messageInfo_VirtualMachineResponse.Size(m)
}
func (m *VirtualMachineResponse) XXX_DiscardUnknown() {
xxx_messageInfo_VirtualMachineResponse.DiscardUnknown(m)
}
var xxx_messageInfo_VirtualMachineResponse proto.InternalMessageInfo
func (m *VirtualMachineResponse) GetVirtualMachines() []*VirtualMachine {
if m != nil {
return m.VirtualMachines
}
return nil
}
func (m *VirtualMachineResponse) GetResult() *wrappers.BoolValue {
if m != nil {
return m.Result
}
return nil
}
func (m *VirtualMachineResponse) GetError() string {
if m != nil {
return m.Error
}
return ""
}
type SSHPublicKey struct {
Keydata string `protobuf:"bytes,1,opt,name=keydata,proto3" json:"keydata,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SSHPublicKey) Reset() { *m = SSHPublicKey{} }
func (m *SSHPublicKey) String() string { return proto.CompactTextString(m) }
func (*SSHPublicKey) ProtoMessage() {}
func (*SSHPublicKey) Descriptor() ([]byte, []int) {
return fileDescriptor_a65ab853cd24c92b, []int{2}
}
func (m *SSHPublicKey) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SSHPublicKey.Unmarshal(m, b)
}
func (m *SSHPublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SSHPublicKey.Marshal(b, m, deterministic)
}
func (m *SSHPublicKey) XXX_Merge(src proto.Message) {
xxx_messageInfo_SSHPublicKey.Merge(m, src)
}
func (m *SSHPublicKey) XXX_Size() int {
return xxx_messageInfo_SSHPublicKey.Size(m)
}
func (m *SSHPublicKey) XXX_DiscardUnknown() {
xxx_messageInfo_SSHPublicKey.DiscardUnknown(m)
}
var xxx_messageInfo_SSHPublicKey proto.InternalMessageInfo
func (m *SSHPublicKey) GetKeydata() string {
if m != nil {
return m.Keydata
}
return ""
}
type Disk struct {
// reference to the virtual hard disk managed by storage
Diskname string `protobuf:"bytes,1,opt,name=diskname,proto3" json:"diskname,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Disk) Reset() { *m = Disk{} }
func (m *Disk) String() string { return proto.CompactTextString(m) }
func (*Disk) ProtoMessage() {}
func (*Disk) Descriptor() ([]byte, []int) {
return fileDescriptor_a65ab853cd24c92b, []int{3}
}
func (m *Disk) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Disk.Unmarshal(m, b)
}
func (m *Disk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Disk.Marshal(b, m, deterministic)
}
func (m *Disk) XXX_Merge(src proto.Message) {
xxx_messageInfo_Disk.Merge(m, src)
}
func (m *Disk) XXX_Size() int {
return xxx_messageInfo_Disk.Size(m)
}
func (m *Disk) XXX_DiscardUnknown() {
xxx_messageInfo_Disk.DiscardUnknown(m)
}
var xxx_messageInfo_Disk proto.InternalMessageInfo
func (m *Disk) GetDiskname() string {
if m != nil {
return m.Diskname
}
return ""
}
type StorageConfiguration struct {
Osdisk *Disk `protobuf:"bytes,1,opt,name=osdisk,proto3" json:"osdisk,omitempty"`
Datadisks []*Disk `protobuf:"bytes,2,rep,name=datadisks,proto3" json:"datadisks,omitempty"`
ImageReference string `protobuf:"bytes,3,opt,name=imageReference,proto3" json:"imageReference,omitempty"`
VmConfigContainerName string `protobuf:"bytes,4,opt,name=vmConfigContainerName,proto3" json:"vmConfigContainerName,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StorageConfiguration) Reset() { *m = StorageConfiguration{} }
func (m *StorageConfiguration) String() string { return proto.CompactTextString(m) }
func (*StorageConfiguration) ProtoMessage() {}
func (*StorageConfiguration) Descriptor() ([]byte, []int) {
return fileDescriptor_a65ab853cd24c92b, []int{4}
}
func (m *StorageConfiguration) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StorageConfiguration.Unmarshal(m, b)
}
func (m *StorageConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StorageConfiguration.Marshal(b, m, deterministic)
}
func (m *StorageConfiguration) XXX_Merge(src proto.Message) {
xxx_messageInfo_StorageConfiguration.Merge(m, src)
}
func (m *StorageConfiguration) XXX_Size() int {
return xxx_messageInfo_StorageConfiguration.Size(m)
}
func (m *StorageConfiguration) XXX_DiscardUnknown() {
xxx_messageInfo_StorageConfiguration.DiscardUnknown(m)
}
var xxx_messageInfo_StorageConfiguration proto.InternalMessageInfo
func (m *StorageConfiguration) GetOsdisk() *Disk {
if m != nil {
return m.Osdisk
}
return nil
}
func (m *StorageConfiguration) GetDatadisks() []*Disk {
if m != nil {
return m.Datadisks
}
return nil
}
func (m *StorageConfiguration) GetImageReference() string {
if m != nil {
return m.ImageReference
}
return ""
}
func (m *StorageConfiguration) GetVmConfigContainerName() string {
if m != nil {
return m.VmConfigContainerName
}
return ""
}
type NetworkInterface struct {
// reference to network interface managed by network
NetworkInterfaceName string `protobuf:"bytes,1,opt,name=networkInterfaceName,proto3" json:"networkInterfaceName,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *NetworkInterface) Reset() { *m = NetworkInterface{} }
func (m *NetworkInterface) String() string { return proto.CompactTextString(m) }
func (*NetworkInterface) ProtoMessage() {}
func (*NetworkInterface) Descriptor() ([]byte, []int) {
return fileDescriptor_a65ab853cd24c92b, []int{5}
}
func (m *NetworkInterface) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_NetworkInterface.Unmarshal(m, b)
}
func (m *NetworkInterface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_NetworkInterface.Marshal(b, m, deterministic)
}
func (m *NetworkInterface) XXX_Merge(src proto.Message) {
xxx_messageInfo_NetworkInterface.Merge(m, src)
}
func (m *NetworkInterface) XXX_Size() int {
return xxx_messageInfo_NetworkInterface.Size(m)
}
func (m *NetworkInterface) XXX_DiscardUnknown() {
xxx_messageInfo_NetworkInterface.DiscardUnknown(m)
}
var xxx_messageInfo_NetworkInterface proto.InternalMessageInfo
func (m *NetworkInterface) GetNetworkInterfaceName() string {
if m != nil {
return m.NetworkInterfaceName
}
return ""
}
type NetworkConfiguration struct {
Interfaces []*NetworkInterface `protobuf:"bytes,1,rep,name=interfaces,proto3" json:"interfaces,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *NetworkConfiguration) Reset() { *m = NetworkConfiguration{} }
func (m *NetworkConfiguration) String() string { return proto.CompactTextString(m) }
func (*NetworkConfiguration) ProtoMessage() {}
func (*NetworkConfiguration) Descriptor() ([]byte, []int) {
return fileDescriptor_a65ab853cd24c92b, []int{6}
}
func (m *NetworkConfiguration) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_NetworkConfiguration.Unmarshal(m, b)
}
func (m *NetworkConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_NetworkConfiguration.Marshal(b, m, deterministic)
}
func (m *NetworkConfiguration) XXX_Merge(src proto.Message) {
xxx_messageInfo_NetworkConfiguration.Merge(m, src)
}
func (m *NetworkConfiguration) XXX_Size() int {
return xxx_messageInfo_NetworkConfiguration.Size(m)
}
func (m *NetworkConfiguration) XXX_DiscardUnknown() {
xxx_messageInfo_NetworkConfiguration.DiscardUnknown(m)
}
var xxx_messageInfo_NetworkConfiguration proto.InternalMessageInfo
func (m *NetworkConfiguration) GetInterfaces() []*NetworkInterface {
if m != nil {
return m.Interfaces
}
return nil
}
type UserConfiguration struct {
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
Usertype common.UserType `protobuf:"varint,3,opt,name=usertype,proto3,enum=moc.UserType" json:"usertype,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UserConfiguration) Reset() { *m = UserConfiguration{} }
func (m *UserConfiguration) String() string { return proto.CompactTextString(m) }
func (*UserConfiguration) ProtoMessage() {}
func (*UserConfiguration) Descriptor() ([]byte, []int) {
return fileDescriptor_a65ab853cd24c92b, []int{7}
}
func (m *UserConfiguration) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UserConfiguration.Unmarshal(m, b)
}
func (m *UserConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UserConfiguration.Marshal(b, m, deterministic)
}
func (m *UserConfiguration) XXX_Merge(src proto.Message) {
xxx_messageInfo_UserConfiguration.Merge(m, src)
}
func (m *UserConfiguration) XXX_Size() int {
return xxx_messageInfo_UserConfiguration.Size(m)
}
func (m *UserConfiguration) XXX_DiscardUnknown() {
xxx_messageInfo_UserConfiguration.DiscardUnknown(m)
}
var xxx_messageInfo_UserConfiguration proto.InternalMessageInfo
func (m *UserConfiguration) GetUsername() string {
if m != nil {
return m.Username
}
return ""
}
func (m *UserConfiguration) GetPassword() string {
if m != nil {
return m.Password
}
return ""
}
func (m *UserConfiguration) GetUsertype() common.UserType {
if m != nil {
return m.Usertype
}
return common.UserType_ROOT
}
type RDPConfiguration struct {
DisableRDP bool `protobuf:"varint,1,opt,name=disableRDP,proto3" json:"disableRDP,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RDPConfiguration) Reset() { *m = RDPConfiguration{} }
func (m *RDPConfiguration) String() string { return proto.CompactTextString(m) }
func (*RDPConfiguration) ProtoMessage() {}
func (*RDPConfiguration) Descriptor() ([]byte, []int) {
return fileDescriptor_a65ab853cd24c92b, []int{8}
}
func (m *RDPConfiguration) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RDPConfiguration.Unmarshal(m, b)
}
func (m *RDPConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RDPConfiguration.Marshal(b, m, deterministic)
}
func (m *RDPConfiguration) XXX_Merge(src proto.Message) {
xxx_messageInfo_RDPConfiguration.Merge(m, src)
}
func (m *RDPConfiguration) XXX_Size() int {
return xxx_messageInfo_RDPConfiguration.Size(m)
}
func (m *RDPConfiguration) XXX_DiscardUnknown() {
xxx_messageInfo_RDPConfiguration.DiscardUnknown(m)
}
var xxx_messageInfo_RDPConfiguration proto.InternalMessageInfo
func (m *RDPConfiguration) GetDisableRDP() bool {
if m != nil {
return m.DisableRDP
}
return false
}
type LinuxConfiguration struct {
DisablePasswordAuthentication bool `protobuf:"varint,1,opt,name=disablePasswordAuthentication,proto3" json:"disablePasswordAuthentication,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LinuxConfiguration) Reset() { *m = LinuxConfiguration{} }
func (m *LinuxConfiguration) String() string { return proto.CompactTextString(m) }
func (*LinuxConfiguration) ProtoMessage() {}
func (*LinuxConfiguration) Descriptor() ([]byte, []int) {
return fileDescriptor_a65ab853cd24c92b, []int{9}
}
func (m *LinuxConfiguration) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LinuxConfiguration.Unmarshal(m, b)
}
func (m *LinuxConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LinuxConfiguration.Marshal(b, m, deterministic)
}
func (m *LinuxConfiguration) XXX_Merge(src proto.Message) {
xxx_messageInfo_LinuxConfiguration.Merge(m, src)
}
func (m *LinuxConfiguration) XXX_Size() int {
return xxx_messageInfo_LinuxConfiguration.Size(m)
}
func (m *LinuxConfiguration) XXX_DiscardUnknown() {
xxx_messageInfo_LinuxConfiguration.DiscardUnknown(m)
}
var xxx_messageInfo_LinuxConfiguration proto.InternalMessageInfo
func (m *LinuxConfiguration) GetDisablePasswordAuthentication() bool {
if m != nil {
return m.DisablePasswordAuthentication
}
return false
}
type WindowsConfiguration struct {
EnableAutomaticUpdates bool `protobuf:"varint,1,opt,name=enableAutomaticUpdates,proto3" json:"enableAutomaticUpdates,omitempty"`
TimeZone string `protobuf:"bytes,2,opt,name=timeZone,proto3" json:"timeZone,omitempty"`
RDPConfiguration *RDPConfiguration `protobuf:"bytes,3,opt,name=RDPConfiguration,proto3" json:"RDPConfiguration,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *WindowsConfiguration) Reset() { *m = WindowsConfiguration{} }
func (m *WindowsConfiguration) String() string { return proto.CompactTextString(m) }
func (*WindowsConfiguration) ProtoMessage() {}
func (*WindowsConfiguration) Descriptor() ([]byte, []int) {
return fileDescriptor_a65ab853cd24c92b, []int{10}
}
func (m *WindowsConfiguration) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WindowsConfiguration.Unmarshal(m, b)
}
func (m *WindowsConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WindowsConfiguration.Marshal(b, m, deterministic)
}
func (m *WindowsConfiguration) XXX_Merge(src proto.Message) {
xxx_messageInfo_WindowsConfiguration.Merge(m, src)
}
func (m *WindowsConfiguration) XXX_Size() int {
return xxx_messageInfo_WindowsConfiguration.Size(m)
}
func (m *WindowsConfiguration) XXX_DiscardUnknown() {
xxx_messageInfo_WindowsConfiguration.DiscardUnknown(m)
}
var xxx_messageInfo_WindowsConfiguration proto.InternalMessageInfo
func (m *WindowsConfiguration) GetEnableAutomaticUpdates() bool {
if m != nil {
return m.EnableAutomaticUpdates
}
return false
}
func (m *WindowsConfiguration) GetTimeZone() string {
if m != nil {
return m.TimeZone
}
return ""
}
func (m *WindowsConfiguration) GetRDPConfiguration() *RDPConfiguration {
if m != nil {
return m.RDPConfiguration
}
return nil
}
type OperatingSystemConfiguration struct {
ComputerName string `protobuf:"bytes,1,opt,name=computerName,proto3" json:"computerName,omitempty"`
Administrator *UserConfiguration `protobuf:"bytes,2,opt,name=administrator,proto3" json:"administrator,omitempty"`
Users []*UserConfiguration `protobuf:"bytes,3,rep,name=users,proto3" json:"users,omitempty"`
CustomData string `protobuf:"bytes,4,opt,name=customData,proto3" json:"customData,omitempty"`
Publickeys []*SSHPublicKey `protobuf:"bytes,5,rep,name=publickeys,proto3" json:"publickeys,omitempty"`
Ostype common.OperatingSystemType `protobuf:"varint,6,opt,name=ostype,proto3,enum=moc.OperatingSystemType" json:"ostype,omitempty"`
// bootstrap engine can be cloud-init, Windows answer files, ...
OsBootstrapEngine common.OperatingSystemBootstrapEngine `protobuf:"varint,7,opt,name=osBootstrapEngine,proto3,enum=moc.OperatingSystemBootstrapEngine" json:"osBootstrapEngine,omitempty"`
LinuxConfiguration *LinuxConfiguration `protobuf:"bytes,8,opt,name=linuxConfiguration,proto3" json:"linuxConfiguration,omitempty"`
WindowsConfiguration *WindowsConfiguration `protobuf:"bytes,9,opt,name=windowsConfiguration,proto3" json:"windowsConfiguration,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *OperatingSystemConfiguration) Reset() { *m = OperatingSystemConfiguration{} }
func (m *OperatingSystemConfiguration) String() string { return proto.CompactTextString(m) }
func (*OperatingSystemConfiguration) ProtoMessage() {}
func (*OperatingSystemConfiguration) Descriptor() ([]byte, []int) {
return fileDescriptor_a65ab853cd24c92b, []int{11}
}
func (m *OperatingSystemConfiguration) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_OperatingSystemConfiguration.Unmarshal(m, b)
}
func (m *OperatingSystemConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_OperatingSystemConfiguration.Marshal(b, m, deterministic)
}
func (m *OperatingSystemConfiguration) XXX_Merge(src proto.Message) {
xxx_messageInfo_OperatingSystemConfiguration.Merge(m, src)
}
func (m *OperatingSystemConfiguration) XXX_Size() int {
return xxx_messageInfo_OperatingSystemConfiguration.Size(m)
}
func (m *OperatingSystemConfiguration) XXX_DiscardUnknown() {
xxx_messageInfo_OperatingSystemConfiguration.DiscardUnknown(m)
}
var xxx_messageInfo_OperatingSystemConfiguration proto.InternalMessageInfo
func (m *OperatingSystemConfiguration) GetComputerName() string {
if m != nil {
return m.ComputerName
}
return ""
}
func (m *OperatingSystemConfiguration) GetAdministrator() *UserConfiguration {
if m != nil {
return m.Administrator
}
return nil
}
func (m *OperatingSystemConfiguration) GetUsers() []*UserConfiguration {
if m != nil {
return m.Users
}
return nil
}
func (m *OperatingSystemConfiguration) GetCustomData() string {
if m != nil {
return m.CustomData
}
return ""
}
func (m *OperatingSystemConfiguration) GetPublickeys() []*SSHPublicKey {
if m != nil {
return m.Publickeys
}
return nil
}
func (m *OperatingSystemConfiguration) GetOstype() common.OperatingSystemType {
if m != nil {
return m.Ostype
}
return common.OperatingSystemType_WINDOWS
}
func (m *OperatingSystemConfiguration) GetOsBootstrapEngine() common.OperatingSystemBootstrapEngine {
if m != nil {
return m.OsBootstrapEngine
}
return common.OperatingSystemBootstrapEngine_CLOUD_INIT
}
func (m *OperatingSystemConfiguration) GetLinuxConfiguration() *LinuxConfiguration {
if m != nil {
return m.LinuxConfiguration
}
return nil
}
func (m *OperatingSystemConfiguration) GetWindowsConfiguration() *WindowsConfiguration {
if m != nil {
return m.WindowsConfiguration
}
return nil
}
type HardwareConfiguration struct {
VMSize common.VirtualMachineSizeType `protobuf:"varint,1,opt,name=VMSize,proto3,enum=moc.VirtualMachineSizeType" json:"VMSize,omitempty"`
CustomSize *common.VirtualMachineCustomSize `protobuf:"bytes,2,opt,name=customSize,proto3" json:"customSize,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *HardwareConfiguration) Reset() { *m = HardwareConfiguration{} }
func (m *HardwareConfiguration) String() string { return proto.CompactTextString(m) }
func (*HardwareConfiguration) ProtoMessage() {}
func (*HardwareConfiguration) Descriptor() ([]byte, []int) {
return fileDescriptor_a65ab853cd24c92b, []int{12}
}
func (m *HardwareConfiguration) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_HardwareConfiguration.Unmarshal(m, b)
}
func (m *HardwareConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_HardwareConfiguration.Marshal(b, m, deterministic)
}
func (m *HardwareConfiguration) XXX_Merge(src proto.Message) {
xxx_messageInfo_HardwareConfiguration.Merge(m, src)
}
func (m *HardwareConfiguration) XXX_Size() int {
return xxx_messageInfo_HardwareConfiguration.Size(m)
}
func (m *HardwareConfiguration) XXX_DiscardUnknown() {
xxx_messageInfo_HardwareConfiguration.DiscardUnknown(m)
}
var xxx_messageInfo_HardwareConfiguration proto.InternalMessageInfo
func (m *HardwareConfiguration) GetVMSize() common.VirtualMachineSizeType {
if m != nil {
return m.VMSize
}
return common.VirtualMachineSizeType_Default
}
func (m *HardwareConfiguration) GetCustomSize() *common.VirtualMachineCustomSize {
if m != nil {
return m.CustomSize
}
return nil
}
type SecurityConfiguration struct {
EnableTPM bool `protobuf:"varint,1,opt,name=enableTPM,proto3" json:"enableTPM,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SecurityConfiguration) Reset() { *m = SecurityConfiguration{} }
func (m *SecurityConfiguration) String() string { return proto.CompactTextString(m) }
func (*SecurityConfiguration) ProtoMessage() {}
func (*SecurityConfiguration) Descriptor() ([]byte, []int) {
return fileDescriptor_a65ab853cd24c92b, []int{13}
}
func (m *SecurityConfiguration) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SecurityConfiguration.Unmarshal(m, b)
}
func (m *SecurityConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SecurityConfiguration.Marshal(b, m, deterministic)
}
func (m *SecurityConfiguration) XXX_Merge(src proto.Message) {
xxx_messageInfo_SecurityConfiguration.Merge(m, src)
}
func (m *SecurityConfiguration) XXX_Size() int {
return xxx_messageInfo_SecurityConfiguration.Size(m)
}
func (m *SecurityConfiguration) XXX_DiscardUnknown() {
xxx_messageInfo_SecurityConfiguration.DiscardUnknown(m)
}
var xxx_messageInfo_SecurityConfiguration proto.InternalMessageInfo
func (m *SecurityConfiguration) GetEnableTPM() bool {
if m != nil {
return m.EnableTPM
}
return false
}
type VirtualMachine struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
Storage *StorageConfiguration `protobuf:"bytes,3,opt,name=storage,proto3" json:"storage,omitempty"`
Os *OperatingSystemConfiguration `protobuf:"bytes,4,opt,name=os,proto3" json:"os,omitempty"`
Network *NetworkConfiguration `protobuf:"bytes,5,opt,name=network,proto3" json:"network,omitempty"`
NodeName string `protobuf:"bytes,6,opt,name=nodeName,proto3" json:"nodeName,omitempty"`
GroupName string `protobuf:"bytes,7,opt,name=groupName,proto3" json:"groupName,omitempty"`
Status *common.Status `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`
LocationName string `protobuf:"bytes,9,opt,name=locationName,proto3" json:"locationName,omitempty"`
DisableHighAvailability bool `protobuf:"varint,10,opt,name=disableHighAvailability,proto3" json:"disableHighAvailability,omitempty"`
VmType VMType `protobuf:"varint,11,opt,name=vmType,proto3,enum=moc.cloudagent.compute.VMType" json:"vmType,omitempty"`
Hardware *HardwareConfiguration `protobuf:"bytes,12,opt,name=hardware,proto3" json:"hardware,omitempty"`
AllowedOwnerNodes []string `protobuf:"bytes,13,rep,name=allowedOwnerNodes,proto3" json:"allowedOwnerNodes,omitempty"`
PowerState common.PowerState `protobuf:"varint,14,opt,name=powerState,proto3,enum=moc.PowerState" json:"powerState,omitempty"`
Security *SecurityConfiguration `protobuf:"bytes,15,opt,name=security,proto3" json:"security,omitempty"`
Tags *common.Tags `protobuf:"bytes,16,opt,name=tags,proto3" json:"tags,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *VirtualMachine) Reset() { *m = VirtualMachine{} }
func (m *VirtualMachine) String() string { return proto.CompactTextString(m) }
func (*VirtualMachine) ProtoMessage() {}
func (*VirtualMachine) Descriptor() ([]byte, []int) {
return fileDescriptor_a65ab853cd24c92b, []int{14}
}
func (m *VirtualMachine) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_VirtualMachine.Unmarshal(m, b)
}
func (m *VirtualMachine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_VirtualMachine.Marshal(b, m, deterministic)
}
func (m *VirtualMachine) XXX_Merge(src proto.Message) {
xxx_messageInfo_VirtualMachine.Merge(m, src)
}
func (m *VirtualMachine) XXX_Size() int {
return xxx_messageInfo_VirtualMachine.Size(m)
}
func (m *VirtualMachine) XXX_DiscardUnknown() {
xxx_messageInfo_VirtualMachine.DiscardUnknown(m)
}
var xxx_messageInfo_VirtualMachine proto.InternalMessageInfo
func (m *VirtualMachine) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *VirtualMachine) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *VirtualMachine) GetStorage() *StorageConfiguration {
if m != nil {
return m.Storage
}
return nil
}
func (m *VirtualMachine) GetOs() *OperatingSystemConfiguration {
if m != nil {
return m.Os
}
return nil
}
func (m *VirtualMachine) GetNetwork() *NetworkConfiguration {
if m != nil {
return m.Network
}
return nil
}
func (m *VirtualMachine) GetNodeName() string {
if m != nil {
return m.NodeName
}
return ""
}
func (m *VirtualMachine) GetGroupName() string {
if m != nil {
return m.GroupName
}
return ""
}
func (m *VirtualMachine) GetStatus() *common.Status {
if m != nil {
return m.Status
}
return nil
}
func (m *VirtualMachine) GetLocationName() string {
if m != nil {
return m.LocationName
}
return ""
}
func (m *VirtualMachine) GetDisableHighAvailability() bool {
if m != nil {
return m.DisableHighAvailability
}
return false
}
func (m *VirtualMachine) GetVmType() VMType {
if m != nil {
return m.VmType
}
return VMType_TENANT
}
func (m *VirtualMachine) GetHardware() *HardwareConfiguration {
if m != nil {
return m.Hardware
}
return nil
}
func (m *VirtualMachine) GetAllowedOwnerNodes() []string {
if m != nil {
return m.AllowedOwnerNodes
}
return nil
}
func (m *VirtualMachine) GetPowerState() common.PowerState {
if m != nil {
return m.PowerState
}
return common.PowerState_Unknown
}
func (m *VirtualMachine) GetSecurity() *SecurityConfiguration {
if m != nil {
return m.Security
}
return nil
}
func (m *VirtualMachine) GetTags() *common.Tags {
if m != nil {
return m.Tags
}
return nil
}
type VirtualMachineOperationRequest struct {
VirtualMachines []*VirtualMachine `protobuf:"bytes,1,rep,name=VirtualMachines,proto3" json:"VirtualMachines,omitempty"`
OperationType common.VirtualMachineOperation `protobuf:"varint,2,opt,name=OperationType,proto3,enum=moc.VirtualMachineOperation" json:"OperationType,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *VirtualMachineOperationRequest) Reset() { *m = VirtualMachineOperationRequest{} }
func (m *VirtualMachineOperationRequest) String() string { return proto.CompactTextString(m) }
func (*VirtualMachineOperationRequest) ProtoMessage() {}
func (*VirtualMachineOperationRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a65ab853cd24c92b, []int{15}
}
func (m *VirtualMachineOperationRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_VirtualMachineOperationRequest.Unmarshal(m, b)
}
func (m *VirtualMachineOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_VirtualMachineOperationRequest.Marshal(b, m, deterministic)
}
func (m *VirtualMachineOperationRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_VirtualMachineOperationRequest.Merge(m, src)
}
func (m *VirtualMachineOperationRequest) XXX_Size() int {
return xxx_messageInfo_VirtualMachineOperationRequest.Size(m)
}
func (m *VirtualMachineOperationRequest) XXX_DiscardUnknown() {
xxx_messageInfo_VirtualMachineOperationRequest.DiscardUnknown(m)
}
var xxx_messageInfo_VirtualMachineOperationRequest proto.InternalMessageInfo
func (m *VirtualMachineOperationRequest) GetVirtualMachines() []*VirtualMachine {
if m != nil {
return m.VirtualMachines
}
return nil
}
func (m *VirtualMachineOperationRequest) GetOperationType() common.VirtualMachineOperation {
if m != nil {
return m.OperationType
}
return common.VirtualMachineOperation_START
}
type VirtualMachineOperationResponse struct {
VirtualMachines []*VirtualMachine `protobuf:"bytes,1,rep,name=VirtualMachines,proto3" json:"VirtualMachines,omitempty"`
Result *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"`
Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *VirtualMachineOperationResponse) Reset() { *m = VirtualMachineOperationResponse{} }
func (m *VirtualMachineOperationResponse) String() string { return proto.CompactTextString(m) }
func (*VirtualMachineOperationResponse) ProtoMessage() {}
func (*VirtualMachineOperationResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_a65ab853cd24c92b, []int{16}
}
func (m *VirtualMachineOperationResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_VirtualMachineOperationResponse.Unmarshal(m, b)
}
func (m *VirtualMachineOperationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_VirtualMachineOperationResponse.Marshal(b, m, deterministic)
}
func (m *VirtualMachineOperationResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_VirtualMachineOperationResponse.Merge(m, src)
}
func (m *VirtualMachineOperationResponse) XXX_Size() int {
return xxx_messageInfo_VirtualMachineOperationResponse.Size(m)
}
func (m *VirtualMachineOperationResponse) XXX_DiscardUnknown() {
xxx_messageInfo_VirtualMachineOperationResponse.DiscardUnknown(m)
}
var xxx_messageInfo_VirtualMachineOperationResponse proto.InternalMessageInfo
func (m *VirtualMachineOperationResponse) GetVirtualMachines() []*VirtualMachine {
if m != nil {
return m.VirtualMachines