plainprograms-virtuozzo 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. data/CHANGELOG.rdoc +54 -0
  2. data/README.rdoc +52 -0
  3. data/Rakefile +15 -0
  4. data/lib/virtuozzo/constants.rb +10 -0
  5. data/lib/virtuozzo/soap/drivers/device/mapping_registry.rb +3653 -0
  6. data/lib/virtuozzo/soap/drivers/device/types.rb +3144 -0
  7. data/lib/virtuozzo/soap/drivers/device_driver.rb +141 -0
  8. data/lib/virtuozzo/soap/drivers/environment/mapping_registry.rb +4461 -0
  9. data/lib/virtuozzo/soap/drivers/environment/types.rb +3743 -0
  10. data/lib/virtuozzo/soap/drivers/environment_driver.rb +300 -0
  11. data/lib/virtuozzo/soap/drivers/network/mapping_registry.rb +3116 -0
  12. data/lib/virtuozzo/soap/drivers/network/types.rb +2401 -0
  13. data/lib/virtuozzo/soap/drivers/network_driver.rb +101 -0
  14. data/lib/virtuozzo/soap/drivers/process/mapping_registry.rb +3317 -0
  15. data/lib/virtuozzo/soap/drivers/process/types.rb +2711 -0
  16. data/lib/virtuozzo/soap/drivers/process_driver.rb +69 -0
  17. data/lib/virtuozzo/soap/drivers/process_info/mapping_registry.rb +2985 -0
  18. data/lib/virtuozzo/soap/drivers/process_info/types.rb +2328 -0
  19. data/lib/virtuozzo/soap/drivers/process_info_driver.rb +61 -0
  20. data/lib/virtuozzo/soap/drivers/relocator/mapping_registry.rb +3656 -0
  21. data/lib/virtuozzo/soap/drivers/relocator/types.rb +2916 -0
  22. data/lib/virtuozzo/soap/drivers/relocator_driver.rb +101 -0
  23. data/lib/virtuozzo/soap/drivers/session/mapping_registry.rb +3039 -0
  24. data/lib/virtuozzo/soap/drivers/session/types.rb +2453 -0
  25. data/lib/virtuozzo/soap/drivers/session_driver.rb +149 -0
  26. data/lib/virtuozzo/soap/drivers/support/mapping_registry.rb +3232 -0
  27. data/lib/virtuozzo/soap/drivers/support/types.rb +2708 -0
  28. data/lib/virtuozzo/soap/drivers/support_driver.rb +109 -0
  29. data/lib/virtuozzo/soap/drivers/template/mapping_registry.rb +3752 -0
  30. data/lib/virtuozzo/soap/drivers/template/types.rb +3079 -0
  31. data/lib/virtuozzo/soap/drivers/template_driver.rb +117 -0
  32. data/lib/virtuozzo/soap/drivers/up2date/mapping_registry.rb +3312 -0
  33. data/lib/virtuozzo/soap/drivers/up2date/types.rb +2670 -0
  34. data/lib/virtuozzo/soap/drivers/up2date_driver.rb +92 -0
  35. data/lib/virtuozzo/soap.rb +149 -0
  36. data/lib/virtuozzo.rb +18 -0
  37. data/script/console +10 -0
  38. data/script/github-gem-test +15 -0
  39. data/virtuozzo.gemspec +34 -0
  40. metadata +139 -0
@@ -0,0 +1,3144 @@
1
+ require 'xsd/qname'
2
+
3
+ module Virtuozzo; module SOAP; module Drivers; module Device
4
+
5
+
6
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}packet_headerType
7
+ # auth - Virtuozzo::SOAP::Drivers::Device::AuthType
8
+ # cookie - SOAP::SOAPString
9
+ # target - SOAP::SOAPString
10
+ # origin - SOAP::SOAPString
11
+ # src - Virtuozzo::SOAP::Drivers::Device::RouteType
12
+ # dst - Virtuozzo::SOAP::Drivers::Device::RouteType
13
+ # session - SOAP::SOAPString
14
+ # xmlattr_version - SOAP::SOAPString
15
+ # xmlattr_id - SOAP::SOAPString
16
+ # xmlattr_priority - SOAP::SOAPString
17
+ # xmlattr_time - SOAP::SOAPString
18
+ # xmlattr_progress - SOAP::SOAPString
19
+ # xmlattr_log - SOAP::SOAPString
20
+ # xmlattr_type - SOAP::SOAPInt
21
+ # xmlattr_timeout - SOAP::SOAPInt
22
+ # xmlattr_timeout_limit - SOAP::SOAPInt
23
+ # xmlattr_uid - SOAP::SOAPInt
24
+ class Packet_headerType
25
+ AttrC_Time = XSD::QName.new(nil, "time")
26
+ AttrId = XSD::QName.new(nil, "id")
27
+ AttrLog = XSD::QName.new(nil, "log")
28
+ AttrPriority = XSD::QName.new(nil, "priority")
29
+ AttrProgress = XSD::QName.new(nil, "progress")
30
+ AttrTimeout = XSD::QName.new(nil, "timeout")
31
+ AttrTimeout_limit = XSD::QName.new(nil, "timeout_limit")
32
+ AttrType = XSD::QName.new(nil, "type")
33
+ AttrUid = XSD::QName.new(nil, "uid")
34
+ AttrVersion = XSD::QName.new(nil, "version")
35
+
36
+ attr_accessor :auth
37
+ attr_accessor :cookie
38
+ attr_accessor :target
39
+ attr_accessor :origin
40
+ attr_accessor :src
41
+ attr_accessor :dst
42
+ attr_accessor :session
43
+
44
+ def __xmlattr
45
+ @__xmlattr ||= {}
46
+ end
47
+
48
+ def xmlattr_version
49
+ __xmlattr[AttrVersion]
50
+ end
51
+
52
+ def xmlattr_version=(value)
53
+ __xmlattr[AttrVersion] = value
54
+ end
55
+
56
+ def xmlattr_id
57
+ __xmlattr[AttrId]
58
+ end
59
+
60
+ def xmlattr_id=(value)
61
+ __xmlattr[AttrId] = value
62
+ end
63
+
64
+ def xmlattr_priority
65
+ __xmlattr[AttrPriority]
66
+ end
67
+
68
+ def xmlattr_priority=(value)
69
+ __xmlattr[AttrPriority] = value
70
+ end
71
+
72
+ def xmlattr_time
73
+ __xmlattr[AttrC_Time]
74
+ end
75
+
76
+ def xmlattr_time=(value)
77
+ __xmlattr[AttrC_Time] = value
78
+ end
79
+
80
+ def xmlattr_progress
81
+ __xmlattr[AttrProgress]
82
+ end
83
+
84
+ def xmlattr_progress=(value)
85
+ __xmlattr[AttrProgress] = value
86
+ end
87
+
88
+ def xmlattr_log
89
+ __xmlattr[AttrLog]
90
+ end
91
+
92
+ def xmlattr_log=(value)
93
+ __xmlattr[AttrLog] = value
94
+ end
95
+
96
+ def xmlattr_type
97
+ __xmlattr[AttrType]
98
+ end
99
+
100
+ def xmlattr_type=(value)
101
+ __xmlattr[AttrType] = value
102
+ end
103
+
104
+ def xmlattr_timeout
105
+ __xmlattr[AttrTimeout]
106
+ end
107
+
108
+ def xmlattr_timeout=(value)
109
+ __xmlattr[AttrTimeout] = value
110
+ end
111
+
112
+ def xmlattr_timeout_limit
113
+ __xmlattr[AttrTimeout_limit]
114
+ end
115
+
116
+ def xmlattr_timeout_limit=(value)
117
+ __xmlattr[AttrTimeout_limit] = value
118
+ end
119
+
120
+ def xmlattr_uid
121
+ __xmlattr[AttrUid]
122
+ end
123
+
124
+ def xmlattr_uid=(value)
125
+ __xmlattr[AttrUid] = value
126
+ end
127
+
128
+ def initialize(auth = nil, cookie = nil, target = [], origin = nil, src = nil, dst = nil, session = nil)
129
+ @auth = auth
130
+ @cookie = cookie
131
+ @target = target
132
+ @origin = origin
133
+ @src = src
134
+ @dst = dst
135
+ @session = session
136
+ @__xmlattr = {}
137
+ end
138
+ end
139
+
140
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operatorType
141
+ # configuration - Virtuozzo::SOAP::Drivers::Device::ConfigurationType
142
+ class OperatorType
143
+ attr_accessor :configuration
144
+
145
+ def initialize(configuration = nil)
146
+ @configuration = configuration
147
+ end
148
+ end
149
+
150
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operator_functionalType
151
+ # configuration - Virtuozzo::SOAP::Drivers::Device::ConfigurationType
152
+ # ok - Virtuozzo::SOAP::Drivers::Device::Operator_functionalType::Ok
153
+ # error - Virtuozzo::SOAP::Drivers::Device::Operator_functionalType::Error
154
+ class Operator_functionalType < OperatorType
155
+
156
+ # inner class for member: ok
157
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
158
+ class Ok
159
+ def initialize
160
+ end
161
+ end
162
+
163
+ # inner class for member: error
164
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
165
+ # code - SOAP::SOAPInt
166
+ # message - SOAP::SOAPString
167
+ class Error
168
+ attr_accessor :code
169
+ attr_accessor :message
170
+
171
+ def initialize(code = nil, message = nil)
172
+ @code = code
173
+ @message = message
174
+ end
175
+ end
176
+
177
+ attr_accessor :configuration
178
+ attr_accessor :ok
179
+ attr_accessor :error
180
+
181
+ def initialize(configuration = nil, ok = [], error = [])
182
+ @configuration = configuration
183
+ @ok = ok
184
+ @error = error
185
+ end
186
+ end
187
+
188
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operator_periodicType
189
+ # configuration - Virtuozzo::SOAP::Drivers::Device::ConfigurationType
190
+ # ok - Virtuozzo::SOAP::Drivers::Device::Operator_periodicType::Ok
191
+ # error - Virtuozzo::SOAP::Drivers::Device::Operator_periodicType::Error
192
+ # start_monitor - Virtuozzo::SOAP::Drivers::Device::Start_monitorType
193
+ # stop_monitor - Virtuozzo::SOAP::Drivers::Device::Stop_monitorType
194
+ # set_period - Virtuozzo::SOAP::Drivers::Device::Set_periodType
195
+ # report - (any)
196
+ class Operator_periodicType < Operator_functionalType
197
+
198
+ # inner class for member: ok
199
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
200
+ class Ok
201
+ def initialize
202
+ end
203
+ end
204
+
205
+ # inner class for member: error
206
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
207
+ # code - SOAP::SOAPInt
208
+ # message - SOAP::SOAPString
209
+ class Error
210
+ attr_accessor :code
211
+ attr_accessor :message
212
+
213
+ def initialize(code = nil, message = nil)
214
+ @code = code
215
+ @message = message
216
+ end
217
+ end
218
+
219
+ attr_accessor :configuration
220
+ attr_accessor :ok
221
+ attr_accessor :error
222
+ attr_accessor :start_monitor
223
+ attr_accessor :stop_monitor
224
+ attr_accessor :set_period
225
+ attr_accessor :report
226
+
227
+ def initialize(configuration = nil, ok = [], error = [], start_monitor = nil, stop_monitor = nil, set_period = nil, report = nil)
228
+ @configuration = configuration
229
+ @ok = ok
230
+ @error = error
231
+ @start_monitor = start_monitor
232
+ @stop_monitor = stop_monitor
233
+ @set_period = set_period
234
+ @report = report
235
+ end
236
+ end
237
+
238
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}devmType
239
+ # configuration - Virtuozzo::SOAP::Drivers::Device::ConfigurationType
240
+ # ok - Virtuozzo::SOAP::Drivers::Device::DevmType::Ok
241
+ # error - Virtuozzo::SOAP::Drivers::Device::DevmType::Error
242
+ # get_mounts - Virtuozzo::SOAP::Drivers::Device::Get_mounts
243
+ # new_mount - Virtuozzo::SOAP::Drivers::Device::New_mount
244
+ # umount - Virtuozzo::SOAP::Drivers::Device::Umount
245
+ # get_info - Virtuozzo::SOAP::Drivers::Device::Get_info
246
+ # create_drive - Virtuozzo::SOAP::Drivers::Device::Create_drive
247
+ # delete_drive - Virtuozzo::SOAP::Drivers::Device::Delete_drive
248
+ # resize_drive - Virtuozzo::SOAP::Drivers::Device::Resize_drive
249
+ # format_drive - Virtuozzo::SOAP::Drivers::Device::Format_drive
250
+ # list_device - Virtuozzo::SOAP::Drivers::Device::List_device
251
+ # forward_device - Virtuozzo::SOAP::Drivers::Device::Forward_device
252
+ # remove_forward - Virtuozzo::SOAP::Drivers::Device::Remove_forward
253
+ # list_forward - Virtuozzo::SOAP::Drivers::Device::List_forward
254
+ # mount - Virtuozzo::SOAP::Drivers::Device::Mount_deviceType
255
+ # device_info - Virtuozzo::SOAP::Drivers::Device::Device_info
256
+ # device - Virtuozzo::SOAP::Drivers::Device::Common_deviceType
257
+ # forward - Virtuozzo::SOAP::Drivers::Device::Forward
258
+ class DevmType < Operator_functionalType
259
+
260
+ # inner class for member: ok
261
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
262
+ class Ok
263
+ def initialize
264
+ end
265
+ end
266
+
267
+ # inner class for member: error
268
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
269
+ # code - SOAP::SOAPInt
270
+ # message - SOAP::SOAPString
271
+ class Error
272
+ attr_accessor :code
273
+ attr_accessor :message
274
+
275
+ def initialize(code = nil, message = nil)
276
+ @code = code
277
+ @message = message
278
+ end
279
+ end
280
+
281
+ attr_accessor :configuration
282
+ attr_accessor :ok
283
+ attr_accessor :error
284
+ attr_accessor :get_mounts
285
+ attr_accessor :new_mount
286
+ attr_accessor :umount
287
+ attr_accessor :get_info
288
+ attr_accessor :create_drive
289
+ attr_accessor :delete_drive
290
+ attr_accessor :resize_drive
291
+ attr_accessor :format_drive
292
+ attr_accessor :list_device
293
+ attr_accessor :forward_device
294
+ attr_accessor :remove_forward
295
+ attr_accessor :list_forward
296
+ attr_accessor :mount
297
+ attr_accessor :device_info
298
+ attr_accessor :device
299
+ attr_accessor :forward
300
+
301
+ def initialize(configuration = nil, ok = [], error = [], get_mounts = [], new_mount = [], umount = [], get_info = [], create_drive = [], delete_drive = [], resize_drive = [], format_drive = [], list_device = [], forward_device = [], remove_forward = [], list_forward = [], mount = [], device_info = [], device = [], forward = [])
302
+ @configuration = configuration
303
+ @ok = ok
304
+ @error = error
305
+ @get_mounts = get_mounts
306
+ @new_mount = new_mount
307
+ @umount = umount
308
+ @get_info = get_info
309
+ @create_drive = create_drive
310
+ @delete_drive = delete_drive
311
+ @resize_drive = resize_drive
312
+ @format_drive = format_drive
313
+ @list_device = list_device
314
+ @forward_device = forward_device
315
+ @remove_forward = remove_forward
316
+ @list_forward = list_forward
317
+ @mount = mount
318
+ @device_info = device_info
319
+ @device = device
320
+ @forward = forward
321
+ end
322
+ end
323
+
324
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzadevm}vzadevmType
325
+ # configuration - Virtuozzo::SOAP::Drivers::Device::ConfigurationType
326
+ # ok - Virtuozzo::SOAP::Drivers::Device::VzadevmType::Ok
327
+ # error - Virtuozzo::SOAP::Drivers::Device::VzadevmType::Error
328
+ # get_mounts - Virtuozzo::SOAP::Drivers::Device::Get_mounts
329
+ # new_mount - Virtuozzo::SOAP::Drivers::Device::New_mount
330
+ # umount - Virtuozzo::SOAP::Drivers::Device::Umount
331
+ # get_info - Virtuozzo::SOAP::Drivers::Device::Get_info
332
+ # create_drive - Virtuozzo::SOAP::Drivers::Device::Create_drive
333
+ # delete_drive - Virtuozzo::SOAP::Drivers::Device::Delete_drive
334
+ # resize_drive - Virtuozzo::SOAP::Drivers::Device::Resize_drive
335
+ # format_drive - Virtuozzo::SOAP::Drivers::Device::Format_drive
336
+ # list_device - Virtuozzo::SOAP::Drivers::Device::List_device
337
+ # forward_device - Virtuozzo::SOAP::Drivers::Device::Forward_device
338
+ # remove_forward - Virtuozzo::SOAP::Drivers::Device::Remove_forward
339
+ # list_forward - Virtuozzo::SOAP::Drivers::Device::List_forward
340
+ # mount - Virtuozzo::SOAP::Drivers::Device::Mount_deviceType
341
+ # device_info - Virtuozzo::SOAP::Drivers::Device::Device_info
342
+ # device - Virtuozzo::SOAP::Drivers::Device::Common_deviceType
343
+ # forward - Virtuozzo::SOAP::Drivers::Device::Forward
344
+ class VzadevmType < DevmType
345
+
346
+ # inner class for member: ok
347
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
348
+ class Ok
349
+ def initialize
350
+ end
351
+ end
352
+
353
+ # inner class for member: error
354
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
355
+ # code - SOAP::SOAPInt
356
+ # message - SOAP::SOAPString
357
+ class Error
358
+ attr_accessor :code
359
+ attr_accessor :message
360
+
361
+ def initialize(code = nil, message = nil)
362
+ @code = code
363
+ @message = message
364
+ end
365
+ end
366
+
367
+ attr_accessor :configuration
368
+ attr_accessor :ok
369
+ attr_accessor :error
370
+ attr_accessor :get_mounts
371
+ attr_accessor :new_mount
372
+ attr_accessor :umount
373
+ attr_accessor :get_info
374
+ attr_accessor :create_drive
375
+ attr_accessor :delete_drive
376
+ attr_accessor :resize_drive
377
+ attr_accessor :format_drive
378
+ attr_accessor :list_device
379
+ attr_accessor :forward_device
380
+ attr_accessor :remove_forward
381
+ attr_accessor :list_forward
382
+ attr_accessor :mount
383
+ attr_accessor :device_info
384
+ attr_accessor :device
385
+ attr_accessor :forward
386
+
387
+ def initialize(configuration = nil, ok = [], error = [], get_mounts = [], new_mount = [], umount = [], get_info = [], create_drive = [], delete_drive = [], resize_drive = [], format_drive = [], list_device = [], forward_device = [], remove_forward = [], list_forward = [], mount = [], device_info = [], device = [], forward = [])
388
+ @configuration = configuration
389
+ @ok = ok
390
+ @error = error
391
+ @get_mounts = get_mounts
392
+ @new_mount = new_mount
393
+ @umount = umount
394
+ @get_info = get_info
395
+ @create_drive = create_drive
396
+ @delete_drive = delete_drive
397
+ @resize_drive = resize_drive
398
+ @format_drive = format_drive
399
+ @list_device = list_device
400
+ @forward_device = forward_device
401
+ @remove_forward = remove_forward
402
+ @list_forward = list_forward
403
+ @mount = mount
404
+ @device_info = device_info
405
+ @device = device
406
+ @forward = forward
407
+ end
408
+ end
409
+
410
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}set_periodType
411
+ # collect - SOAP::SOAPInt
412
+ # log - SOAP::SOAPInt
413
+ # report - SOAP::SOAPInt
414
+ class Set_periodType
415
+ attr_accessor :collect
416
+ attr_accessor :log
417
+ attr_accessor :report
418
+
419
+ def initialize(collect = nil, log = nil, report = nil)
420
+ @collect = collect
421
+ @log = log
422
+ @report = report
423
+ end
424
+ end
425
+
426
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}start_monitorType
427
+ # period - SOAP::SOAPInt
428
+ class Start_monitorType
429
+ attr_accessor :period
430
+ attr_reader :__xmlele_any
431
+
432
+ def set_any(elements)
433
+ @__xmlele_any = elements
434
+ end
435
+
436
+ def initialize(period = nil)
437
+ @period = period
438
+ @__xmlele_any = nil
439
+ end
440
+ end
441
+
442
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}stop_monitorType
443
+ class Stop_monitorType
444
+ attr_reader :__xmlele_any
445
+
446
+ def set_any(elements)
447
+ @__xmlele_any = elements
448
+ end
449
+
450
+ def initialize
451
+ @__xmlele_any = nil
452
+ end
453
+ end
454
+
455
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}authType
456
+ class AuthType
457
+ attr_reader :__xmlele_any
458
+
459
+ def set_any(elements)
460
+ @__xmlele_any = elements
461
+ end
462
+
463
+ def initialize
464
+ @__xmlele_any = nil
465
+ end
466
+ end
467
+
468
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}routeType
469
+ # director - SOAP::SOAPString
470
+ # host - SOAP::SOAPString
471
+ # index - SOAP::SOAPString
472
+ # target - SOAP::SOAPString
473
+ class RouteType
474
+ attr_accessor :director
475
+ attr_accessor :host
476
+ attr_accessor :index
477
+ attr_accessor :target
478
+
479
+ def initialize(director = nil, host = nil, index = nil, target = nil)
480
+ @director = director
481
+ @host = host
482
+ @index = index
483
+ @target = target
484
+ end
485
+ end
486
+
487
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}dataType
488
+ class DataType < ::Array
489
+ end
490
+
491
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}configurationType
492
+ class ConfigurationType
493
+ def initialize
494
+ end
495
+ end
496
+
497
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}event_configurationType
498
+ # period - SOAP::SOAPInt
499
+ class Event_configurationType < ConfigurationType
500
+ attr_accessor :period
501
+
502
+ def initialize(period = nil)
503
+ @period = period
504
+ end
505
+ end
506
+
507
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}periodic_configurationType
508
+ # log_priority - SOAP::SOAPInt
509
+ # monitor_priority - SOAP::SOAPInt
510
+ # min_monitor_period - SOAP::SOAPInt
511
+ # min_monitor_period_root - SOAP::SOAPInt
512
+ class Periodic_configurationType < ConfigurationType
513
+ attr_accessor :log_priority
514
+ attr_accessor :monitor_priority
515
+ attr_accessor :min_monitor_period
516
+ attr_accessor :min_monitor_period_root
517
+
518
+ def initialize(log_priority = nil, monitor_priority = nil, min_monitor_period = nil, min_monitor_period_root = nil)
519
+ @log_priority = log_priority
520
+ @monitor_priority = monitor_priority
521
+ @min_monitor_period = min_monitor_period
522
+ @min_monitor_period_root = min_monitor_period_root
523
+ end
524
+ end
525
+
526
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}osType
527
+ # platform - SOAP::SOAPString
528
+ # name - SOAP::SOAPString
529
+ # version - SOAP::SOAPString
530
+ # kernel - SOAP::SOAPString
531
+ class OsType
532
+ attr_accessor :platform
533
+ attr_accessor :name
534
+ attr_accessor :version
535
+ attr_accessor :kernel
536
+
537
+ def initialize(platform = nil, name = nil, version = nil, kernel = nil)
538
+ @platform = platform
539
+ @name = name
540
+ @version = version
541
+ @kernel = kernel
542
+ end
543
+ end
544
+
545
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_statusType
546
+ # state - SOAP::SOAPInt
547
+ # transition - SOAP::SOAPInt
548
+ class Env_statusType
549
+ attr_accessor :state
550
+ attr_accessor :transition
551
+
552
+ def initialize(state = nil, transition = nil)
553
+ @state = state
554
+ @transition = transition
555
+ end
556
+ end
557
+
558
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}qosType
559
+ # id - SOAP::SOAPString
560
+ # soft - SOAP::SOAPLong
561
+ # hard - SOAP::SOAPLong
562
+ # cur - SOAP::SOAPLong
563
+ class QosType
564
+ attr_accessor :id
565
+ attr_accessor :soft
566
+ attr_accessor :hard
567
+ attr_accessor :cur
568
+
569
+ def initialize(id = nil, soft = nil, hard = nil, cur = nil)
570
+ @id = id
571
+ @soft = soft
572
+ @hard = hard
573
+ @cur = cur
574
+ end
575
+ end
576
+
577
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_configType
578
+ # name - SOAP::SOAPString
579
+ # description - SOAP::SOAPBase64
580
+ # domain - SOAP::SOAPString
581
+ # hostname - SOAP::SOAPString
582
+ # address - Virtuozzo::SOAP::Drivers::Device::Ip_addressType
583
+ # architecture - SOAP::SOAPString
584
+ # os - Virtuozzo::SOAP::Drivers::Device::OsType
585
+ # type - SOAP::SOAPString
586
+ # nameserver - SOAP::SOAPString
587
+ # search_domain - SOAP::SOAPString
588
+ # base_sample_id - (any)
589
+ # base_snapshot_id - (any)
590
+ # child_type - SOAP::SOAPString
591
+ class Env_configType
592
+ attr_accessor :name
593
+ attr_accessor :description
594
+ attr_accessor :domain
595
+ attr_accessor :hostname
596
+ attr_accessor :address
597
+ attr_accessor :architecture
598
+ attr_accessor :os
599
+ attr_accessor :type
600
+ attr_accessor :nameserver
601
+ attr_accessor :search_domain
602
+ attr_accessor :base_sample_id
603
+ attr_accessor :base_snapshot_id
604
+ attr_accessor :child_type
605
+
606
+ def initialize(name = nil, description = nil, domain = nil, hostname = nil, address = [], architecture = nil, os = nil, type = nil, nameserver = [], search_domain = [], base_sample_id = nil, base_snapshot_id = nil, child_type = [])
607
+ @name = name
608
+ @description = description
609
+ @domain = domain
610
+ @hostname = hostname
611
+ @address = address
612
+ @architecture = architecture
613
+ @os = os
614
+ @type = type
615
+ @nameserver = nameserver
616
+ @search_domain = search_domain
617
+ @base_sample_id = base_sample_id
618
+ @base_snapshot_id = base_snapshot_id
619
+ @child_type = child_type
620
+ end
621
+ end
622
+
623
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}venv_configType
624
+ # name - SOAP::SOAPString
625
+ # description - SOAP::SOAPBase64
626
+ # domain - SOAP::SOAPString
627
+ # hostname - SOAP::SOAPString
628
+ # address - Virtuozzo::SOAP::Drivers::Device::Ip_addressType
629
+ # architecture - SOAP::SOAPString
630
+ # os - Virtuozzo::SOAP::Drivers::Device::OsType
631
+ # type - SOAP::SOAPString
632
+ # nameserver - SOAP::SOAPString
633
+ # search_domain - SOAP::SOAPString
634
+ # base_sample_id - (any)
635
+ # base_snapshot_id - (any)
636
+ # child_type - SOAP::SOAPString
637
+ # qos - Virtuozzo::SOAP::Drivers::Device::QosType
638
+ class Venv_configType < Env_configType
639
+ attr_accessor :name
640
+ attr_accessor :description
641
+ attr_accessor :domain
642
+ attr_accessor :hostname
643
+ attr_accessor :address
644
+ attr_accessor :architecture
645
+ attr_accessor :os
646
+ attr_accessor :type
647
+ attr_accessor :nameserver
648
+ attr_accessor :search_domain
649
+ attr_accessor :base_sample_id
650
+ attr_accessor :base_snapshot_id
651
+ attr_accessor :child_type
652
+ attr_accessor :qos
653
+
654
+ def initialize(name = nil, description = nil, domain = nil, hostname = nil, address = [], architecture = nil, os = nil, type = nil, nameserver = [], search_domain = [], base_sample_id = nil, base_snapshot_id = nil, child_type = [], qos = [])
655
+ @name = name
656
+ @description = description
657
+ @domain = domain
658
+ @hostname = hostname
659
+ @address = address
660
+ @architecture = architecture
661
+ @os = os
662
+ @type = type
663
+ @nameserver = nameserver
664
+ @search_domain = search_domain
665
+ @base_sample_id = base_sample_id
666
+ @base_snapshot_id = base_snapshot_id
667
+ @child_type = child_type
668
+ @qos = qos
669
+ end
670
+ end
671
+
672
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}venv_configType
673
+ # name - SOAP::SOAPString
674
+ # description - SOAP::SOAPBase64
675
+ # domain - SOAP::SOAPString
676
+ # hostname - SOAP::SOAPString
677
+ # address - Virtuozzo::SOAP::Drivers::Device::Ip_addressType
678
+ # architecture - SOAP::SOAPString
679
+ # os - Virtuozzo::SOAP::Drivers::Device::OsType
680
+ # type - SOAP::SOAPString
681
+ # nameserver - SOAP::SOAPString
682
+ # search_domain - SOAP::SOAPString
683
+ # base_sample_id - (any)
684
+ # base_snapshot_id - (any)
685
+ # child_type - SOAP::SOAPString
686
+ # qos - Virtuozzo::SOAP::Drivers::Device::QosType
687
+ # veid - (any)
688
+ # ve_root - SOAP::SOAPString
689
+ # ve_private - SOAP::SOAPString
690
+ # on_boot - SOAP::SOAPBoolean
691
+ # template - Virtuozzo::SOAP::Drivers::Device::TemplateType
692
+ # disabled - SOAP::SOAPBoolean
693
+ # offline_management - SOAP::SOAPBoolean
694
+ # os_template - Virtuozzo::SOAP::Drivers::Device::TemplateType
695
+ # distribution - Virtuozzo::SOAP::Drivers::Device::TemplateType
696
+ # capability - Virtuozzo::SOAP::Drivers::Device::Venv_configType_::Capability
697
+ # iptables - SOAP::SOAPString
698
+ # config_customized - SOAP::SOAPBoolean
699
+ # class_id - SOAP::SOAPString
700
+ # ve_type - Virtuozzo::SOAP::Drivers::Device::Venv_configType_::Ve_type
701
+ # offline_service - SOAP::SOAPString
702
+ # wins_server - SOAP::SOAPString
703
+ # net_device - Virtuozzo::SOAP::Drivers::Device::Net_vethType
704
+ # ts_license_server - SOAP::SOAPString
705
+ # ts_mode - SOAP::SOAPInt
706
+ # uuid - SOAP::SOAPString
707
+ # allow_reboot - SOAP::SOAPBoolean
708
+ # rate_bound - SOAP::SOAPBoolean
709
+ # interface_rate - Virtuozzo::SOAP::Drivers::Device::Venv_configType_::Interface_rate
710
+ # slm_mode - SOAP::SOAPString
711
+ # origin_sample - SOAP::SOAPString
712
+ class Venv_configType_ < Venv_configType
713
+
714
+ # inner class for member: capability
715
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}capability
716
+ # id - SOAP::SOAPString
717
+ # value - SOAP::SOAPBoolean
718
+ class Capability
719
+ attr_accessor :id
720
+ attr_accessor :value
721
+
722
+ def initialize(id = nil, value = nil)
723
+ @id = id
724
+ @value = value
725
+ end
726
+ end
727
+
728
+ # inner class for member: ve_type
729
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}ve_type
730
+ # veid - (any)
731
+ # type - SOAP::SOAPInt
732
+ class Ve_type
733
+ attr_accessor :veid
734
+ attr_accessor :type
735
+
736
+ def initialize(veid = nil, type = nil)
737
+ @veid = veid
738
+ @type = type
739
+ end
740
+ end
741
+
742
+ # inner class for member: interface_rate
743
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}interface_rate
744
+ # class_id - SOAP::SOAPString
745
+ # rate - SOAP::SOAPLong
746
+ class Interface_rate
747
+ attr_accessor :class_id
748
+ attr_accessor :rate
749
+
750
+ def initialize(class_id = nil, rate = nil)
751
+ @class_id = class_id
752
+ @rate = rate
753
+ end
754
+ end
755
+
756
+ attr_accessor :name
757
+ attr_accessor :description
758
+ attr_accessor :domain
759
+ attr_accessor :hostname
760
+ attr_accessor :address
761
+ attr_accessor :architecture
762
+ attr_accessor :os
763
+ attr_accessor :type
764
+ attr_accessor :nameserver
765
+ attr_accessor :search_domain
766
+ attr_accessor :base_sample_id
767
+ attr_accessor :base_snapshot_id
768
+ attr_accessor :child_type
769
+ attr_accessor :qos
770
+ attr_accessor :veid
771
+ attr_accessor :ve_root
772
+ attr_accessor :ve_private
773
+ attr_accessor :on_boot
774
+ attr_accessor :template
775
+ attr_accessor :disabled
776
+ attr_accessor :offline_management
777
+ attr_accessor :os_template
778
+ attr_accessor :distribution
779
+ attr_accessor :capability
780
+ attr_accessor :iptables
781
+ attr_accessor :config_customized
782
+ attr_accessor :class_id
783
+ attr_accessor :ve_type
784
+ attr_accessor :offline_service
785
+ attr_accessor :wins_server
786
+ attr_accessor :net_device
787
+ attr_accessor :ts_license_server
788
+ attr_accessor :ts_mode
789
+ attr_accessor :uuid
790
+ attr_accessor :allow_reboot
791
+ attr_accessor :rate_bound
792
+ attr_accessor :interface_rate
793
+ attr_accessor :slm_mode
794
+ attr_accessor :origin_sample
795
+
796
+ def initialize(name = nil, description = nil, domain = nil, hostname = nil, address = [], architecture = nil, os = nil, type = nil, nameserver = [], search_domain = [], base_sample_id = nil, base_snapshot_id = nil, child_type = [], qos = [], veid = nil, ve_root = nil, ve_private = nil, on_boot = nil, template = [], disabled = nil, offline_management = nil, os_template = nil, distribution = nil, capability = [], iptables = [], config_customized = nil, class_id = nil, ve_type = nil, offline_service = [], wins_server = [], net_device = [], ts_license_server = [], ts_mode = nil, uuid = nil, allow_reboot = nil, rate_bound = nil, interface_rate = [], slm_mode = nil, origin_sample = nil)
797
+ @name = name
798
+ @description = description
799
+ @domain = domain
800
+ @hostname = hostname
801
+ @address = address
802
+ @architecture = architecture
803
+ @os = os
804
+ @type = type
805
+ @nameserver = nameserver
806
+ @search_domain = search_domain
807
+ @base_sample_id = base_sample_id
808
+ @base_snapshot_id = base_snapshot_id
809
+ @child_type = child_type
810
+ @qos = qos
811
+ @veid = veid
812
+ @ve_root = ve_root
813
+ @ve_private = ve_private
814
+ @on_boot = on_boot
815
+ @template = template
816
+ @disabled = disabled
817
+ @offline_management = offline_management
818
+ @os_template = os_template
819
+ @distribution = distribution
820
+ @capability = capability
821
+ @iptables = iptables
822
+ @config_customized = config_customized
823
+ @class_id = class_id
824
+ @ve_type = ve_type
825
+ @offline_service = offline_service
826
+ @wins_server = wins_server
827
+ @net_device = net_device
828
+ @ts_license_server = ts_license_server
829
+ @ts_mode = ts_mode
830
+ @uuid = uuid
831
+ @allow_reboot = allow_reboot
832
+ @rate_bound = rate_bound
833
+ @interface_rate = interface_rate
834
+ @slm_mode = slm_mode
835
+ @origin_sample = origin_sample
836
+ end
837
+ end
838
+
839
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}native_configType
840
+ class Native_configType
841
+ def initialize
842
+ end
843
+ end
844
+
845
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}virtuozzo_configType
846
+ # body - SOAP::SOAPBase64
847
+ class Virtuozzo_configType < Native_configType
848
+ attr_accessor :body
849
+
850
+ def initialize(body = nil)
851
+ @body = body
852
+ end
853
+ end
854
+
855
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}envType
856
+ # parent_eid - (any)
857
+ # eid - (any)
858
+ # status - Virtuozzo::SOAP::Drivers::Device::Env_statusType
859
+ # alert - SOAP::SOAPInt
860
+ # config - Virtuozzo::SOAP::Drivers::Device::Env_configType
861
+ # virtual_config - Virtuozzo::SOAP::Drivers::Device::Venv_configType
862
+ class EnvType
863
+ attr_accessor :parent_eid
864
+ attr_accessor :eid
865
+ attr_accessor :status
866
+ attr_accessor :alert
867
+ attr_accessor :config
868
+ attr_accessor :virtual_config
869
+
870
+ def initialize(parent_eid = nil, eid = nil, status = nil, alert = nil, config = nil, virtual_config = nil)
871
+ @parent_eid = parent_eid
872
+ @eid = eid
873
+ @status = status
874
+ @alert = alert
875
+ @config = config
876
+ @virtual_config = virtual_config
877
+ end
878
+ end
879
+
880
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}envType
881
+ # parent_eid - (any)
882
+ # eid - (any)
883
+ # status - Virtuozzo::SOAP::Drivers::Device::Env_statusType
884
+ # alert - SOAP::SOAPInt
885
+ # config - Virtuozzo::SOAP::Drivers::Device::Env_configType
886
+ # virtual_config - Virtuozzo::SOAP::Drivers::Device::Venv_configType
887
+ class EnvType_ < EnvType
888
+ attr_accessor :parent_eid
889
+ attr_accessor :eid
890
+ attr_accessor :status
891
+ attr_accessor :alert
892
+ attr_accessor :config
893
+ attr_accessor :virtual_config
894
+
895
+ def initialize(parent_eid = nil, eid = nil, status = nil, alert = nil, config = nil, virtual_config = nil)
896
+ @parent_eid = parent_eid
897
+ @eid = eid
898
+ @status = status
899
+ @alert = alert
900
+ @config = config
901
+ @virtual_config = virtual_config
902
+ end
903
+ end
904
+
905
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}processesType
906
+ # run - SOAP::SOAPInt
907
+ # zombie - SOAP::SOAPInt
908
+ # sleep - SOAP::SOAPInt
909
+ # uninterrupt - SOAP::SOAPInt
910
+ # stopped - SOAP::SOAPInt
911
+ # total - SOAP::SOAPInt
912
+ class ProcessesType
913
+ attr_accessor :run
914
+ attr_accessor :zombie
915
+ attr_accessor :sleep
916
+ attr_accessor :uninterrupt
917
+ attr_accessor :stopped
918
+ attr_accessor :total
919
+
920
+ def initialize(run = nil, zombie = nil, sleep = nil, uninterrupt = nil, stopped = nil, total = nil)
921
+ @run = run
922
+ @zombie = zombie
923
+ @sleep = sleep
924
+ @uninterrupt = uninterrupt
925
+ @stopped = stopped
926
+ @total = total
927
+ end
928
+ end
929
+
930
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}load_avgType
931
+ # l1 - SOAP::SOAPDouble
932
+ # l2 - SOAP::SOAPDouble
933
+ # l3 - SOAP::SOAPDouble
934
+ class Load_avgType
935
+ attr_accessor :l1
936
+ attr_accessor :l2
937
+ attr_accessor :l3
938
+
939
+ def initialize(l1 = nil, l2 = nil, l3 = nil)
940
+ @l1 = l1
941
+ @l2 = l2
942
+ @l3 = l3
943
+ end
944
+ end
945
+
946
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}cpu_loadType
947
+ # system - SOAP::SOAPLong
948
+ # user - SOAP::SOAPLong
949
+ # nice - SOAP::SOAPLong
950
+ # idle - SOAP::SOAPLong
951
+ class Cpu_loadType
952
+ attr_accessor :system
953
+ attr_accessor :user
954
+ attr_accessor :nice
955
+ attr_accessor :idle
956
+
957
+ def initialize(system = nil, user = nil, nice = nil, idle = nil)
958
+ @system = system
959
+ @user = user
960
+ @nice = nice
961
+ @idle = idle
962
+ end
963
+ end
964
+
965
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}cpuType
966
+ # mhz - SOAP::SOAPInt
967
+ # name - SOAP::SOAPString
968
+ # number - SOAP::SOAPInt
969
+ # cores - SOAP::SOAPInt
970
+ # hyperthreads - SOAP::SOAPInt
971
+ # units - SOAP::SOAPInt
972
+ # family - SOAP::SOAPString
973
+ # model - SOAP::SOAPString
974
+ # bogomips - SOAP::SOAPInt
975
+ class CpuType
976
+ attr_accessor :mhz
977
+ attr_accessor :name
978
+ attr_accessor :number
979
+ attr_accessor :cores
980
+ attr_accessor :hyperthreads
981
+ attr_accessor :units
982
+ attr_accessor :family
983
+ attr_accessor :model
984
+ attr_accessor :bogomips
985
+
986
+ def initialize(mhz = nil, name = nil, number = nil, cores = nil, hyperthreads = nil, units = nil, family = nil, model = nil, bogomips = nil)
987
+ @mhz = mhz
988
+ @name = name
989
+ @number = number
990
+ @cores = cores
991
+ @hyperthreads = hyperthreads
992
+ @units = units
993
+ @family = family
994
+ @model = model
995
+ @bogomips = bogomips
996
+ end
997
+ end
998
+
999
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}transferType
1000
+ # input - Virtuozzo::SOAP::Drivers::Device::TransferType::Input
1001
+ # output - Virtuozzo::SOAP::Drivers::Device::TransferType::Output
1002
+ class TransferType
1003
+
1004
+ # inner class for member: input
1005
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}input
1006
+ # bytes - SOAP::SOAPLong
1007
+ # packets - SOAP::SOAPLong
1008
+ class Input
1009
+ attr_accessor :bytes
1010
+ attr_accessor :packets
1011
+
1012
+ def initialize(bytes = nil, packets = nil)
1013
+ @bytes = bytes
1014
+ @packets = packets
1015
+ end
1016
+ end
1017
+
1018
+ # inner class for member: output
1019
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}output
1020
+ # bytes - SOAP::SOAPLong
1021
+ # packets - SOAP::SOAPLong
1022
+ class Output
1023
+ attr_accessor :bytes
1024
+ attr_accessor :packets
1025
+
1026
+ def initialize(bytes = nil, packets = nil)
1027
+ @bytes = bytes
1028
+ @packets = packets
1029
+ end
1030
+ end
1031
+
1032
+ attr_accessor :input
1033
+ attr_accessor :output
1034
+
1035
+ def initialize(input = nil, output = nil)
1036
+ @input = input
1037
+ @output = output
1038
+ end
1039
+ end
1040
+
1041
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}system_nodeType
1042
+ # address - Virtuozzo::SOAP::Drivers::Device::System_nodeType::Address
1043
+ # login - Virtuozzo::SOAP::Drivers::Device::System_nodeType::Login
1044
+ class System_nodeType
1045
+
1046
+ # inner class for member: address
1047
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}address
1048
+ # ip - (any)
1049
+ class Address < Ip_addressType
1050
+ attr_accessor :ip
1051
+
1052
+ def initialize(ip = nil)
1053
+ @ip = ip
1054
+ end
1055
+ end
1056
+
1057
+ # inner class for member: login
1058
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}login
1059
+ # user - SOAP::SOAPString
1060
+ # password - SOAP::SOAPBase64
1061
+ class Login
1062
+ attr_accessor :user
1063
+ attr_accessor :password
1064
+
1065
+ def initialize(user = nil, password = nil)
1066
+ @user = user
1067
+ @password = password
1068
+ end
1069
+ end
1070
+
1071
+ attr_accessor :address
1072
+ attr_accessor :login
1073
+
1074
+ def initialize(address = nil, login = nil)
1075
+ @address = address
1076
+ @login = login
1077
+ end
1078
+ end
1079
+
1080
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}resourceType
1081
+ # total - SOAP::SOAPLong
1082
+ # used - SOAP::SOAPLong
1083
+ # free - SOAP::SOAPLong
1084
+ # avg - SOAP::SOAPLong
1085
+ # min - SOAP::SOAPLong
1086
+ # max - SOAP::SOAPLong
1087
+ class ResourceType
1088
+ attr_accessor :total
1089
+ attr_accessor :used
1090
+ attr_accessor :free
1091
+ attr_accessor :avg
1092
+ attr_accessor :min
1093
+ attr_accessor :max
1094
+
1095
+ def initialize(total = nil, used = nil, free = nil, avg = nil, min = nil, max = nil)
1096
+ @total = total
1097
+ @used = used
1098
+ @free = free
1099
+ @avg = avg
1100
+ @min = min
1101
+ @max = max
1102
+ end
1103
+ end
1104
+
1105
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}intervalType
1106
+ # start_time - (any)
1107
+ # end_time - (any)
1108
+ class IntervalType
1109
+ attr_accessor :start_time
1110
+ attr_accessor :end_time
1111
+
1112
+ def initialize(start_time = nil, end_time = nil)
1113
+ @start_time = start_time
1114
+ @end_time = end_time
1115
+ end
1116
+ end
1117
+
1118
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}statsType
1119
+ # avg - SOAP::SOAPLong
1120
+ # min - SOAP::SOAPLong
1121
+ # max - SOAP::SOAPLong
1122
+ # total - SOAP::SOAPLong
1123
+ # cur - SOAP::SOAPLong
1124
+ # soft - SOAP::SOAPLong
1125
+ # hard - SOAP::SOAPLong
1126
+ class StatsType
1127
+ attr_accessor :avg
1128
+ attr_accessor :min
1129
+ attr_accessor :max
1130
+ attr_accessor :total
1131
+ attr_accessor :cur
1132
+ attr_accessor :soft
1133
+ attr_accessor :hard
1134
+
1135
+ def initialize(avg = nil, min = nil, max = nil, total = nil, cur = nil, soft = nil, hard = nil)
1136
+ @avg = avg
1137
+ @min = min
1138
+ @max = max
1139
+ @total = total
1140
+ @cur = cur
1141
+ @soft = soft
1142
+ @hard = hard
1143
+ end
1144
+ end
1145
+
1146
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_addressType
1147
+ # host - (any)
1148
+ # mask - (any)
1149
+ class Net_addressType
1150
+ attr_accessor :host
1151
+ attr_accessor :mask
1152
+
1153
+ def initialize(host = nil, mask = nil)
1154
+ @host = host
1155
+ @mask = mask
1156
+ end
1157
+ end
1158
+
1159
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_classType
1160
+ # id - SOAP::SOAPString
1161
+ # transfer - Virtuozzo::SOAP::Drivers::Device::TransferType
1162
+ class Net_classType
1163
+ attr_accessor :id
1164
+ attr_accessor :transfer
1165
+
1166
+ def initialize(id = nil, transfer = nil)
1167
+ @id = id
1168
+ @transfer = transfer
1169
+ end
1170
+ end
1171
+
1172
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_rangeType
1173
+ # id - SOAP::SOAPString
1174
+ # start_ip - (any)
1175
+ # subnet_mask - SOAP::SOAPInt
1176
+ # comment - SOAP::SOAPString
1177
+ class Ip_rangeType
1178
+ attr_accessor :id
1179
+ attr_accessor :start_ip
1180
+ attr_accessor :subnet_mask
1181
+ attr_accessor :comment
1182
+
1183
+ def initialize(id = nil, start_ip = nil, subnet_mask = nil, comment = nil)
1184
+ @id = id
1185
+ @start_ip = start_ip
1186
+ @subnet_mask = subnet_mask
1187
+ @comment = comment
1188
+ end
1189
+ end
1190
+
1191
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}sample_confType
1192
+ # env_config - Virtuozzo::SOAP::Drivers::Device::Env_configType
1193
+ # id - SOAP::SOAPString
1194
+ # name - SOAP::SOAPString
1195
+ # comment - SOAP::SOAPBase64
1196
+ # vt_version - Virtuozzo::SOAP::Drivers::Device::Sample_confType::Vt_version
1197
+ class Sample_confType
1198
+
1199
+ # inner class for member: vt_version
1200
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vt_version
1201
+ # platform - SOAP::SOAPString
1202
+ # architecture - SOAP::SOAPString
1203
+ # vt_technology - SOAP::SOAPString
1204
+ class Vt_version
1205
+ attr_accessor :platform
1206
+ attr_accessor :architecture
1207
+ attr_accessor :vt_technology
1208
+
1209
+ def initialize(platform = nil, architecture = nil, vt_technology = nil)
1210
+ @platform = platform
1211
+ @architecture = architecture
1212
+ @vt_technology = vt_technology
1213
+ end
1214
+ end
1215
+
1216
+ attr_accessor :env_config
1217
+ attr_accessor :id
1218
+ attr_accessor :name
1219
+ attr_accessor :comment
1220
+ attr_accessor :vt_version
1221
+
1222
+ def initialize(env_config = nil, id = nil, name = nil, comment = nil, vt_version = nil)
1223
+ @env_config = env_config
1224
+ @id = id
1225
+ @name = name
1226
+ @comment = comment
1227
+ @vt_version = vt_version
1228
+ end
1229
+ end
1230
+
1231
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}interfaceType
1232
+ # name - SOAP::SOAPString
1233
+ # bandwidth - SOAP::SOAPInt
1234
+ # transfer - Virtuozzo::SOAP::Drivers::Device::TransferType
1235
+ # ipaddress - (any)
1236
+ # flags - SOAP::SOAPInt
1237
+ class InterfaceType
1238
+ attr_accessor :name
1239
+ attr_accessor :bandwidth
1240
+ attr_accessor :transfer
1241
+ attr_accessor :ipaddress
1242
+ attr_accessor :flags
1243
+
1244
+ def initialize(name = nil, bandwidth = nil, transfer = nil, ipaddress = nil, flags = nil)
1245
+ @name = name
1246
+ @bandwidth = bandwidth
1247
+ @transfer = transfer
1248
+ @ipaddress = ipaddress
1249
+ @flags = flags
1250
+ end
1251
+ end
1252
+
1253
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}sys_infoType
1254
+ # load_avg - Virtuozzo::SOAP::Drivers::Device::Load_avgType
1255
+ # processes - Virtuozzo::SOAP::Drivers::Device::ProcessesType
1256
+ # cpu_load - Virtuozzo::SOAP::Drivers::Device::Cpu_loadType
1257
+ # cpu_states - Virtuozzo::SOAP::Drivers::Device::Cpu_loadType
1258
+ # users - SOAP::SOAPInt
1259
+ # uptime - SOAP::SOAPLong
1260
+ # memory - Virtuozzo::SOAP::Drivers::Device::Sys_infoType::Memory
1261
+ # swap - Virtuozzo::SOAP::Drivers::Device::Sys_infoType::Swap
1262
+ class Sys_infoType
1263
+
1264
+ # inner class for member: memory
1265
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}memory
1266
+ # total - SOAP::SOAPLong
1267
+ # used - SOAP::SOAPLong
1268
+ class Memory < ResourceType
1269
+ attr_accessor :total
1270
+ attr_accessor :used
1271
+
1272
+ def initialize(total = nil, used = nil)
1273
+ @total = total
1274
+ @used = used
1275
+ end
1276
+ end
1277
+
1278
+ # inner class for member: swap
1279
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}swap
1280
+ # total - SOAP::SOAPLong
1281
+ # used - SOAP::SOAPLong
1282
+ class Swap < ResourceType
1283
+ attr_accessor :total
1284
+ attr_accessor :used
1285
+
1286
+ def initialize(total = nil, used = nil)
1287
+ @total = total
1288
+ @used = used
1289
+ end
1290
+ end
1291
+
1292
+ attr_accessor :load_avg
1293
+ attr_accessor :processes
1294
+ attr_accessor :cpu_load
1295
+ attr_accessor :cpu_states
1296
+ attr_accessor :users
1297
+ attr_accessor :uptime
1298
+ attr_accessor :memory
1299
+ attr_accessor :swap
1300
+
1301
+ def initialize(load_avg = nil, processes = nil, cpu_load = nil, cpu_states = nil, users = nil, uptime = nil, memory = nil, swap = nil)
1302
+ @load_avg = load_avg
1303
+ @processes = processes
1304
+ @cpu_load = cpu_load
1305
+ @cpu_states = cpu_states
1306
+ @users = users
1307
+ @uptime = uptime
1308
+ @memory = memory
1309
+ @swap = swap
1310
+ end
1311
+ end
1312
+
1313
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ps_infoType
1314
+ # process - Virtuozzo::SOAP::Drivers::Device::Ps_infoType::C_Process
1315
+ # param_id - SOAP::SOAPString
1316
+ # run - SOAP::SOAPInt
1317
+ # idle - SOAP::SOAPInt
1318
+ # zombie - SOAP::SOAPInt
1319
+ # sleep - SOAP::SOAPInt
1320
+ # uninterrupt - SOAP::SOAPInt
1321
+ # stopped - SOAP::SOAPInt
1322
+ # total - SOAP::SOAPInt
1323
+ class Ps_infoType
1324
+
1325
+ # inner class for member: process
1326
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}process
1327
+ # pid - SOAP::SOAPInt
1328
+ # param - SOAP::SOAPBase64
1329
+ class C_Process
1330
+ attr_accessor :pid
1331
+ attr_accessor :param
1332
+
1333
+ def initialize(pid = nil, param = [])
1334
+ @pid = pid
1335
+ @param = param
1336
+ end
1337
+ end
1338
+
1339
+ attr_accessor :process
1340
+ attr_accessor :param_id
1341
+ attr_accessor :run
1342
+ attr_accessor :idle
1343
+ attr_accessor :zombie
1344
+ attr_accessor :sleep
1345
+ attr_accessor :uninterrupt
1346
+ attr_accessor :stopped
1347
+ attr_accessor :total
1348
+
1349
+ def initialize(process = [], param_id = [], run = nil, idle = nil, zombie = nil, sleep = nil, uninterrupt = nil, stopped = nil, total = nil)
1350
+ @process = process
1351
+ @param_id = param_id
1352
+ @run = run
1353
+ @idle = idle
1354
+ @zombie = zombie
1355
+ @sleep = sleep
1356
+ @uninterrupt = uninterrupt
1357
+ @stopped = stopped
1358
+ @total = total
1359
+ end
1360
+ end
1361
+
1362
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}load_avg_statsType
1363
+ # l1 - Virtuozzo::SOAP::Drivers::Device::Load_avg_statsType::L1
1364
+ # l2 - Virtuozzo::SOAP::Drivers::Device::Load_avg_statsType::L2
1365
+ # l3 - Virtuozzo::SOAP::Drivers::Device::Load_avg_statsType::L3
1366
+ class Load_avg_statsType
1367
+
1368
+ # inner class for member: l1
1369
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}l1
1370
+ # avg - SOAP::SOAPLong
1371
+ # min - SOAP::SOAPLong
1372
+ # max - SOAP::SOAPLong
1373
+ # cur - SOAP::SOAPLong
1374
+ class L1 < StatsType
1375
+ attr_accessor :avg
1376
+ attr_accessor :min
1377
+ attr_accessor :max
1378
+ attr_accessor :cur
1379
+
1380
+ def initialize(avg = nil, min = nil, max = nil, cur = nil)
1381
+ @avg = avg
1382
+ @min = min
1383
+ @max = max
1384
+ @cur = cur
1385
+ end
1386
+ end
1387
+
1388
+ # inner class for member: l2
1389
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}l2
1390
+ # avg - SOAP::SOAPLong
1391
+ # min - SOAP::SOAPLong
1392
+ # max - SOAP::SOAPLong
1393
+ # cur - SOAP::SOAPLong
1394
+ class L2 < StatsType
1395
+ attr_accessor :avg
1396
+ attr_accessor :min
1397
+ attr_accessor :max
1398
+ attr_accessor :cur
1399
+
1400
+ def initialize(avg = nil, min = nil, max = nil, cur = nil)
1401
+ @avg = avg
1402
+ @min = min
1403
+ @max = max
1404
+ @cur = cur
1405
+ end
1406
+ end
1407
+
1408
+ # inner class for member: l3
1409
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}l3
1410
+ # avg - SOAP::SOAPLong
1411
+ # min - SOAP::SOAPLong
1412
+ # max - SOAP::SOAPLong
1413
+ # cur - SOAP::SOAPLong
1414
+ class L3 < StatsType
1415
+ attr_accessor :avg
1416
+ attr_accessor :min
1417
+ attr_accessor :max
1418
+ attr_accessor :cur
1419
+
1420
+ def initialize(avg = nil, min = nil, max = nil, cur = nil)
1421
+ @avg = avg
1422
+ @min = min
1423
+ @max = max
1424
+ @cur = cur
1425
+ end
1426
+ end
1427
+
1428
+ attr_accessor :l1
1429
+ attr_accessor :l2
1430
+ attr_accessor :l3
1431
+
1432
+ def initialize(l1 = nil, l2 = nil, l3 = nil)
1433
+ @l1 = l1
1434
+ @l2 = l2
1435
+ @l3 = l3
1436
+ end
1437
+ end
1438
+
1439
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_addressType
1440
+ # ip - (any)
1441
+ # netmask - (any)
1442
+ class Ip_addressType
1443
+ attr_accessor :ip
1444
+ attr_accessor :netmask
1445
+
1446
+ def initialize(ip = nil, netmask = nil)
1447
+ @ip = ip
1448
+ @netmask = netmask
1449
+ end
1450
+ end
1451
+
1452
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_resourceType
1453
+ # eid - (any)
1454
+ # ip_pool - Virtuozzo::SOAP::Drivers::Device::Ip_poolType
1455
+ class Env_resourceType
1456
+ attr_accessor :eid
1457
+ attr_accessor :ip_pool
1458
+
1459
+ def initialize(eid = nil, ip_pool = nil)
1460
+ @eid = eid
1461
+ @ip_pool = ip_pool
1462
+ end
1463
+ end
1464
+
1465
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_poolType
1466
+ # ip_range - Virtuozzo::SOAP::Drivers::Device::Ip_poolType::Ip_range
1467
+ # ip - (any)
1468
+ class Ip_poolType
1469
+
1470
+ # inner class for member: ip_range
1471
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_range
1472
+ # start_ip - (any)
1473
+ # end_ip - (any)
1474
+ class Ip_range
1475
+ attr_accessor :start_ip
1476
+ attr_accessor :end_ip
1477
+
1478
+ def initialize(start_ip = nil, end_ip = nil)
1479
+ @start_ip = start_ip
1480
+ @end_ip = end_ip
1481
+ end
1482
+ end
1483
+
1484
+ attr_accessor :ip_range
1485
+ attr_accessor :ip
1486
+
1487
+ def initialize(ip_range = [], ip = [])
1488
+ @ip_range = ip_range
1489
+ @ip = ip
1490
+ end
1491
+ end
1492
+
1493
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}usageType
1494
+ # total - SOAP::SOAPLong
1495
+ # used - SOAP::SOAPLong
1496
+ # free - SOAP::SOAPLong
1497
+ class UsageType
1498
+ attr_accessor :total
1499
+ attr_accessor :used
1500
+ attr_accessor :free
1501
+
1502
+ def initialize(total = nil, used = nil, free = nil)
1503
+ @total = total
1504
+ @used = used
1505
+ @free = free
1506
+ end
1507
+ end
1508
+
1509
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}credentialType
1510
+ # id - SOAP::SOAPString
1511
+ # policy - SOAP::SOAPInt
1512
+ # description - SOAP::SOAPBase64
1513
+ # cred - Virtuozzo::SOAP::Drivers::Device::CredentialType
1514
+ class CredentialType
1515
+ attr_accessor :id
1516
+ attr_accessor :policy
1517
+ attr_accessor :description
1518
+ attr_accessor :cred
1519
+
1520
+ def initialize(id = nil, policy = nil, description = nil, cred = [])
1521
+ @id = id
1522
+ @policy = policy
1523
+ @description = description
1524
+ @cred = cred
1525
+ end
1526
+ end
1527
+
1528
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}root_credentialType
1529
+ # id - SOAP::SOAPString
1530
+ # policy - SOAP::SOAPInt
1531
+ # description - SOAP::SOAPBase64
1532
+ # cred - Virtuozzo::SOAP::Drivers::Device::CredentialType
1533
+ # objects - Virtuozzo::SOAP::Drivers::Device::Root_credentialType::Objects
1534
+ class Root_credentialType < CredentialType
1535
+
1536
+ # inner class for member: objects
1537
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}objects
1538
+ class Objects < ::Array
1539
+ end
1540
+
1541
+ attr_accessor :id
1542
+ attr_accessor :policy
1543
+ attr_accessor :description
1544
+ attr_accessor :cred
1545
+ attr_accessor :objects
1546
+
1547
+ def initialize(id = nil, policy = nil, description = nil, cred = [], objects = nil)
1548
+ @id = id
1549
+ @policy = policy
1550
+ @description = description
1551
+ @cred = cred
1552
+ @objects = objects
1553
+ end
1554
+ end
1555
+
1556
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}tokenType
1557
+ # user - (any)
1558
+ # groups - Virtuozzo::SOAP::Drivers::Device::TokenType::Groups
1559
+ # deny_only_sids - Virtuozzo::SOAP::Drivers::Device::TokenType::Deny_only_sids
1560
+ # privileges - Virtuozzo::SOAP::Drivers::Device::TokenType::Privileges
1561
+ # source - Virtuozzo::SOAP::Drivers::Device::TokenType::Source
1562
+ class TokenType
1563
+
1564
+ # inner class for member: groups
1565
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}groups
1566
+ class Groups < ::Array
1567
+ end
1568
+
1569
+ # inner class for member: deny_only_sids
1570
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}deny_only_sids
1571
+ class Deny_only_sids < ::Array
1572
+ end
1573
+
1574
+ # inner class for member: privileges
1575
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}privileges
1576
+ class Privileges < ::Array
1577
+ end
1578
+
1579
+ # inner class for member: source
1580
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}source
1581
+ # name - SOAP::SOAPString
1582
+ # id - (any)
1583
+ class Source
1584
+ attr_accessor :name
1585
+ attr_accessor :id
1586
+
1587
+ def initialize(name = nil, id = nil)
1588
+ @name = name
1589
+ @id = id
1590
+ end
1591
+ end
1592
+
1593
+ attr_accessor :user
1594
+ attr_accessor :groups
1595
+ attr_accessor :deny_only_sids
1596
+ attr_accessor :privileges
1597
+ attr_accessor :source
1598
+
1599
+ def initialize(user = nil, groups = nil, deny_only_sids = nil, privileges = nil, source = nil)
1600
+ @user = user
1601
+ @groups = groups
1602
+ @deny_only_sids = deny_only_sids
1603
+ @privileges = privileges
1604
+ @source = source
1605
+ end
1606
+ end
1607
+
1608
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}connectivity_infoType
1609
+ # protocol - SOAP::SOAPString
1610
+ # address - SOAP::SOAPString
1611
+ # port - SOAP::SOAPUnsignedInt
1612
+ class Connectivity_infoType
1613
+ attr_accessor :protocol
1614
+ attr_accessor :address
1615
+ attr_accessor :port
1616
+
1617
+ def initialize(protocol = nil, address = nil, port = nil)
1618
+ @protocol = protocol
1619
+ @address = address
1620
+ @port = port
1621
+ end
1622
+ end
1623
+
1624
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}connection_infoType
1625
+ # protocol - SOAP::SOAPString
1626
+ # address - SOAP::SOAPString
1627
+ # port - SOAP::SOAPUnsignedInt
1628
+ # login - Virtuozzo::SOAP::Drivers::Device::Auth_nameType
1629
+ # password - SOAP::SOAPBase64
1630
+ class Connection_infoType < Connectivity_infoType
1631
+ attr_accessor :protocol
1632
+ attr_accessor :address
1633
+ attr_accessor :port
1634
+ attr_accessor :login
1635
+ attr_accessor :password
1636
+
1637
+ def initialize(protocol = nil, address = nil, port = nil, login = nil, password = nil)
1638
+ @protocol = protocol
1639
+ @address = address
1640
+ @port = port
1641
+ @login = login
1642
+ @password = password
1643
+ end
1644
+ end
1645
+
1646
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}auth_nameType
1647
+ # name - SOAP::SOAPBase64
1648
+ # domain - SOAP::SOAPBase64
1649
+ # realm - (any)
1650
+ class Auth_nameType
1651
+ attr_accessor :name
1652
+ attr_accessor :domain
1653
+ attr_accessor :realm
1654
+
1655
+ def initialize(name = nil, domain = nil, realm = nil)
1656
+ @name = name
1657
+ @domain = domain
1658
+ @realm = realm
1659
+ end
1660
+ end
1661
+
1662
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}eid_listType
1663
+ class Eid_listType < ::Array
1664
+ end
1665
+
1666
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vt_infoType
1667
+ class Vt_infoType
1668
+ attr_reader :__xmlele_any
1669
+
1670
+ def set_any(elements)
1671
+ @__xmlele_any = elements
1672
+ end
1673
+
1674
+ def initialize
1675
+ @__xmlele_any = nil
1676
+ end
1677
+ end
1678
+
1679
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}vt_infoType
1680
+ # sve_eid - (any)
1681
+ # version - SOAP::SOAPString
1682
+ # release - SOAP::SOAPString
1683
+ class Vt_infoType_ < Vt_infoType
1684
+ attr_reader :__xmlele_any
1685
+ attr_accessor :sve_eid
1686
+ attr_accessor :version
1687
+ attr_accessor :release
1688
+
1689
+ def set_any(elements)
1690
+ @__xmlele_any = elements
1691
+ end
1692
+
1693
+ def initialize(sve_eid = nil, version = nil, release = nil)
1694
+ @__xmlele_any = nil
1695
+ @sve_eid = sve_eid
1696
+ @version = version
1697
+ @release = release
1698
+ end
1699
+ end
1700
+
1701
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vt_settingsType
1702
+ # default_sample_id - (any)
1703
+ class Vt_settingsType
1704
+ attr_accessor :default_sample_id
1705
+
1706
+ def initialize(default_sample_id = nil)
1707
+ @default_sample_id = default_sample_id
1708
+ end
1709
+ end
1710
+
1711
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}vt_settingsType
1712
+ # default_sample_id - (any)
1713
+ # parameter - Virtuozzo::SOAP::Drivers::Device::Vt_settingsType_::Parameter
1714
+ # service - Virtuozzo::SOAP::Drivers::Device::Redirect_serviceType
1715
+ # qos - Virtuozzo::SOAP::Drivers::Device::QosType
1716
+ class Vt_settingsType_ < Vt_settingsType
1717
+
1718
+ # inner class for member: parameter
1719
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}parameter
1720
+ # id - SOAP::SOAPString
1721
+ # value - SOAP::SOAPString
1722
+ class Parameter
1723
+ attr_accessor :id
1724
+ attr_accessor :value
1725
+
1726
+ def initialize(id = nil, value = nil)
1727
+ @id = id
1728
+ @value = value
1729
+ end
1730
+ end
1731
+
1732
+ attr_accessor :default_sample_id
1733
+ attr_accessor :parameter
1734
+ attr_accessor :service
1735
+ attr_accessor :qos
1736
+
1737
+ def initialize(default_sample_id = nil, parameter = [], service = [], qos = [])
1738
+ @default_sample_id = default_sample_id
1739
+ @parameter = parameter
1740
+ @service = service
1741
+ @qos = qos
1742
+ end
1743
+ end
1744
+
1745
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}userType
1746
+ # initial_group - Virtuozzo::SOAP::Drivers::Device::UserType::Initial_group
1747
+ # group - Virtuozzo::SOAP::Drivers::Device::UserType::Group
1748
+ # uid - SOAP::SOAPInt
1749
+ # shell - SOAP::SOAPString
1750
+ # password - SOAP::SOAPBase64
1751
+ # home_dir - SOAP::SOAPString
1752
+ # name - SOAP::SOAPString
1753
+ # comment - SOAP::SOAPString
1754
+ class UserType
1755
+
1756
+ # inner class for member: initial_group
1757
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}initial_group
1758
+ # name - SOAP::SOAPString
1759
+ # gid - SOAP::SOAPInt
1760
+ class Initial_group < GroupType
1761
+ attr_accessor :name
1762
+ attr_accessor :gid
1763
+
1764
+ def initialize(name = nil, gid = nil)
1765
+ @name = name
1766
+ @gid = gid
1767
+ end
1768
+ end
1769
+
1770
+ # inner class for member: group
1771
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}group
1772
+ # name - SOAP::SOAPString
1773
+ # gid - SOAP::SOAPInt
1774
+ class Group < GroupType
1775
+ attr_accessor :name
1776
+ attr_accessor :gid
1777
+
1778
+ def initialize(name = nil, gid = nil)
1779
+ @name = name
1780
+ @gid = gid
1781
+ end
1782
+ end
1783
+
1784
+ attr_accessor :initial_group
1785
+ attr_accessor :group
1786
+ attr_accessor :uid
1787
+ attr_accessor :shell
1788
+ attr_accessor :password
1789
+ attr_accessor :home_dir
1790
+ attr_accessor :name
1791
+ attr_accessor :comment
1792
+
1793
+ def initialize(initial_group = nil, group = [], uid = nil, shell = nil, password = nil, home_dir = nil, name = nil, comment = nil)
1794
+ @initial_group = initial_group
1795
+ @group = group
1796
+ @uid = uid
1797
+ @shell = shell
1798
+ @password = password
1799
+ @home_dir = home_dir
1800
+ @name = name
1801
+ @comment = comment
1802
+ end
1803
+ end
1804
+
1805
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}groupType
1806
+ # user - Virtuozzo::SOAP::Drivers::Device::GroupType::User
1807
+ # member_group - Virtuozzo::SOAP::Drivers::Device::GroupType::Member_group
1808
+ # name - SOAP::SOAPString
1809
+ # gid - SOAP::SOAPInt
1810
+ class GroupType
1811
+
1812
+ # inner class for member: user
1813
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}user
1814
+ # name - SOAP::SOAPString
1815
+ class User < UserType
1816
+ attr_accessor :name
1817
+
1818
+ def initialize(name = nil)
1819
+ @name = name
1820
+ end
1821
+ end
1822
+
1823
+ # inner class for member: member_group
1824
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}member_group
1825
+ # name - SOAP::SOAPString
1826
+ class Member_group < GroupType
1827
+ attr_accessor :name
1828
+
1829
+ def initialize(name = nil)
1830
+ @name = name
1831
+ end
1832
+ end
1833
+
1834
+ attr_accessor :user
1835
+ attr_accessor :member_group
1836
+ attr_accessor :name
1837
+ attr_accessor :gid
1838
+
1839
+ def initialize(user = [], member_group = [], name = nil, gid = nil)
1840
+ @user = user
1841
+ @member_group = member_group
1842
+ @name = name
1843
+ @gid = gid
1844
+ end
1845
+ end
1846
+
1847
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}packageType
1848
+ # name - SOAP::SOAPString
1849
+ # summary - SOAP::SOAPString
1850
+ # os - Virtuozzo::SOAP::Drivers::Device::OsType
1851
+ # description - SOAP::SOAPString
1852
+ # arch - SOAP::SOAPString
1853
+ # version - SOAP::SOAPString
1854
+ class PackageType
1855
+ attr_accessor :name
1856
+ attr_accessor :summary
1857
+ attr_accessor :os
1858
+ attr_accessor :description
1859
+ attr_accessor :arch
1860
+ attr_accessor :version
1861
+
1862
+ def initialize(name = nil, summary = nil, os = nil, description = nil, arch = nil, version = nil)
1863
+ @name = name
1864
+ @summary = summary
1865
+ @os = os
1866
+ @description = description
1867
+ @arch = arch
1868
+ @version = version
1869
+ end
1870
+ end
1871
+
1872
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}package_vztemplateType
1873
+ # name - SOAP::SOAPString
1874
+ # summary - SOAP::SOAPString
1875
+ # os - Virtuozzo::SOAP::Drivers::Device::OsType
1876
+ # description - SOAP::SOAPString
1877
+ # arch - SOAP::SOAPString
1878
+ # version - SOAP::SOAPString
1879
+ # technology - SOAP::SOAPString
1880
+ # os_template - SOAP::SOAPBoolean
1881
+ # cached - SOAP::SOAPBoolean
1882
+ # path - SOAP::SOAPBase64
1883
+ # uptodate - SOAP::SOAPBoolean
1884
+ class Package_vztemplateType < PackageType
1885
+ attr_accessor :name
1886
+ attr_accessor :summary
1887
+ attr_accessor :os
1888
+ attr_accessor :description
1889
+ attr_accessor :arch
1890
+ attr_accessor :version
1891
+ attr_accessor :technology
1892
+ attr_accessor :os_template
1893
+ attr_accessor :cached
1894
+ attr_accessor :path
1895
+ attr_accessor :uptodate
1896
+
1897
+ def initialize(name = nil, summary = nil, os = nil, description = nil, arch = nil, version = nil, technology = [], os_template = nil, cached = nil, path = nil, uptodate = nil)
1898
+ @name = name
1899
+ @summary = summary
1900
+ @os = os
1901
+ @description = description
1902
+ @arch = arch
1903
+ @version = version
1904
+ @technology = technology
1905
+ @os_template = os_template
1906
+ @cached = cached
1907
+ @path = path
1908
+ @uptodate = uptodate
1909
+ end
1910
+ end
1911
+
1912
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}package_std_vztemplateType
1913
+ # name - SOAP::SOAPString
1914
+ # summary - SOAP::SOAPString
1915
+ # os - Virtuozzo::SOAP::Drivers::Device::OsType
1916
+ # description - SOAP::SOAPString
1917
+ # arch - SOAP::SOAPString
1918
+ # version - SOAP::SOAPString
1919
+ # technology - SOAP::SOAPString
1920
+ # os_template - SOAP::SOAPBoolean
1921
+ # cached - SOAP::SOAPBoolean
1922
+ # path - SOAP::SOAPBase64
1923
+ # uptodate - SOAP::SOAPBoolean
1924
+ # base - SOAP::SOAPBoolean
1925
+ class Package_std_vztemplateType < Package_vztemplateType
1926
+ attr_accessor :name
1927
+ attr_accessor :summary
1928
+ attr_accessor :os
1929
+ attr_accessor :description
1930
+ attr_accessor :arch
1931
+ attr_accessor :version
1932
+ attr_accessor :technology
1933
+ attr_accessor :os_template
1934
+ attr_accessor :cached
1935
+ attr_accessor :path
1936
+ attr_accessor :uptodate
1937
+ attr_accessor :base
1938
+
1939
+ def initialize(name = nil, summary = nil, os = nil, description = nil, arch = nil, version = nil, technology = [], os_template = nil, cached = nil, path = nil, uptodate = nil, base = nil)
1940
+ @name = name
1941
+ @summary = summary
1942
+ @os = os
1943
+ @description = description
1944
+ @arch = arch
1945
+ @version = version
1946
+ @technology = technology
1947
+ @os_template = os_template
1948
+ @cached = cached
1949
+ @path = path
1950
+ @uptodate = uptodate
1951
+ @base = base
1952
+ end
1953
+ end
1954
+
1955
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}event_dataType
1956
+ class Event_dataType
1957
+ def initialize
1958
+ end
1959
+ end
1960
+
1961
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}alert_dataType
1962
+ # type - SOAP::SOAPInt
1963
+ class Alert_dataType < Event_dataType
1964
+ attr_accessor :type
1965
+
1966
+ def initialize(type = nil)
1967
+ @type = type
1968
+ end
1969
+ end
1970
+
1971
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}named_listType
1972
+ # name - SOAP::SOAPString
1973
+ # value - SOAP::SOAPBase64
1974
+ class Named_listType
1975
+ attr_accessor :name
1976
+ attr_accessor :value
1977
+
1978
+ def initialize(name = nil, value = [])
1979
+ @name = name
1980
+ @value = value
1981
+ end
1982
+ end
1983
+
1984
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}modType
1985
+ # name - SOAP::SOAPString
1986
+ # value - SOAP::SOAPBase64
1987
+ # op - SOAP::SOAPInt
1988
+ class ModType < Named_listType
1989
+ attr_accessor :name
1990
+ attr_accessor :value
1991
+ attr_accessor :op
1992
+
1993
+ def initialize(name = nil, value = [], op = nil)
1994
+ @name = name
1995
+ @value = value
1996
+ @op = op
1997
+ end
1998
+ end
1999
+
2000
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}realmType
2001
+ # id - (any)
2002
+ # type - SOAP::SOAPInt
2003
+ # name - SOAP::SOAPString
2004
+ # builtin - (any)
2005
+ class RealmType
2006
+ attr_accessor :id
2007
+ attr_accessor :type
2008
+ attr_accessor :name
2009
+ attr_accessor :builtin
2010
+
2011
+ def initialize(id = nil, type = nil, name = nil, builtin = nil)
2012
+ @id = id
2013
+ @type = type
2014
+ @name = name
2015
+ @builtin = builtin
2016
+ end
2017
+ end
2018
+
2019
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}eventType
2020
+ # eid - (any)
2021
+ # time - (any)
2022
+ # source - SOAP::SOAPString
2023
+ # category - SOAP::SOAPString
2024
+ # sid - (any)
2025
+ # count - SOAP::SOAPInt
2026
+ # id - (any)
2027
+ # info - Virtuozzo::SOAP::Drivers::Device::InfoType
2028
+ # data - Virtuozzo::SOAP::Drivers::Device::EventType::C_Data
2029
+ class EventType
2030
+
2031
+ # inner class for member: data
2032
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}data
2033
+ # event_data - Virtuozzo::SOAP::Drivers::Device::Event_dataType
2034
+ class C_Data
2035
+ attr_accessor :event_data
2036
+
2037
+ def initialize(event_data = nil)
2038
+ @event_data = event_data
2039
+ end
2040
+ end
2041
+
2042
+ attr_accessor :eid
2043
+ attr_accessor :time
2044
+ attr_accessor :source
2045
+ attr_accessor :category
2046
+ attr_accessor :sid
2047
+ attr_accessor :count
2048
+ attr_accessor :id
2049
+ attr_accessor :info
2050
+ attr_accessor :data
2051
+
2052
+ def initialize(eid = nil, time = nil, source = nil, category = nil, sid = nil, count = nil, id = nil, info = nil, data = nil)
2053
+ @eid = eid
2054
+ @time = time
2055
+ @source = source
2056
+ @category = category
2057
+ @sid = sid
2058
+ @count = count
2059
+ @id = id
2060
+ @info = info
2061
+ @data = data
2062
+ end
2063
+ end
2064
+
2065
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}infoType
2066
+ # message - SOAP::SOAPBase64
2067
+ # translate - (any)
2068
+ # parameter - Virtuozzo::SOAP::Drivers::Device::InfoType
2069
+ # name - SOAP::SOAPString
2070
+ class InfoType
2071
+ attr_accessor :message
2072
+ attr_accessor :translate
2073
+ attr_accessor :parameter
2074
+ attr_accessor :name
2075
+
2076
+ def initialize(message = nil, translate = nil, parameter = [], name = nil)
2077
+ @message = message
2078
+ @translate = translate
2079
+ @parameter = parameter
2080
+ @name = name
2081
+ end
2082
+ end
2083
+
2084
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}aceType
2085
+ # type - SOAP::SOAPInt
2086
+ # sid - (any)
2087
+ # rights - SOAP::SOAPBase64
2088
+ class AceType
2089
+ attr_accessor :type
2090
+ attr_accessor :sid
2091
+ attr_accessor :rights
2092
+
2093
+ def initialize(type = nil, sid = nil, rights = nil)
2094
+ @type = type
2095
+ @sid = sid
2096
+ @rights = rights
2097
+ end
2098
+ end
2099
+
2100
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}security_descriptorType
2101
+ # owner - (any)
2102
+ # group - (any)
2103
+ # dacl - Virtuozzo::SOAP::Drivers::Device::Security_descriptorType::Dacl
2104
+ class Security_descriptorType
2105
+
2106
+ # inner class for member: dacl
2107
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}dacl
2108
+ class Dacl < ::Array
2109
+ end
2110
+
2111
+ attr_accessor :owner
2112
+ attr_accessor :group
2113
+ attr_accessor :dacl
2114
+
2115
+ def initialize(owner = nil, group = nil, dacl = nil)
2116
+ @owner = owner
2117
+ @group = group
2118
+ @dacl = dacl
2119
+ end
2120
+ end
2121
+
2122
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}security_objectType
2123
+ # abstract
2124
+ class Security_objectType
2125
+ def initialize
2126
+ end
2127
+ end
2128
+
2129
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_security_objectType
2130
+ # eid - (any)
2131
+ class Env_security_objectType < Security_objectType
2132
+ attr_accessor :eid
2133
+
2134
+ def initialize(eid = nil)
2135
+ @eid = eid
2136
+ end
2137
+ end
2138
+
2139
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}env_security_objectType
2140
+ # eid - (any)
2141
+ class Env_security_objectType_ < Env_security_objectType
2142
+ attr_accessor :eid
2143
+
2144
+ def initialize(eid = nil)
2145
+ @eid = eid
2146
+ end
2147
+ end
2148
+
2149
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_deviceType
2150
+ # id - SOAP::SOAPString
2151
+ # ip_address - Virtuozzo::SOAP::Drivers::Device::Ip_addressType
2152
+ # dhcp - (any)
2153
+ # network_id - SOAP::SOAPBase64
2154
+ # status - Virtuozzo::SOAP::Drivers::Device::Net_deviceType::Status
2155
+ class Net_deviceType
2156
+
2157
+ # inner class for member: status
2158
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
2159
+ # up - (any)
2160
+ # down - (any)
2161
+ class Status
2162
+ attr_accessor :up
2163
+ attr_accessor :down
2164
+
2165
+ def initialize(up = nil, down = nil)
2166
+ @up = up
2167
+ @down = down
2168
+ end
2169
+ end
2170
+
2171
+ attr_accessor :id
2172
+ attr_accessor :ip_address
2173
+ attr_accessor :dhcp
2174
+ attr_accessor :network_id
2175
+ attr_accessor :status
2176
+
2177
+ def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil)
2178
+ @id = id
2179
+ @ip_address = ip_address
2180
+ @dhcp = dhcp
2181
+ @network_id = network_id
2182
+ @status = status
2183
+ end
2184
+ end
2185
+
2186
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_nicType
2187
+ # id - SOAP::SOAPString
2188
+ # ip_address - Virtuozzo::SOAP::Drivers::Device::Ip_addressType
2189
+ # dhcp - (any)
2190
+ # network_id - SOAP::SOAPBase64
2191
+ # status - Virtuozzo::SOAP::Drivers::Device::Net_nicType::Status
2192
+ # mac_address - SOAP::SOAPString
2193
+ class Net_nicType < Net_deviceType
2194
+
2195
+ # inner class for member: status
2196
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
2197
+ # up - (any)
2198
+ # down - (any)
2199
+ class Status
2200
+ attr_accessor :up
2201
+ attr_accessor :down
2202
+
2203
+ def initialize(up = nil, down = nil)
2204
+ @up = up
2205
+ @down = down
2206
+ end
2207
+ end
2208
+
2209
+ attr_accessor :id
2210
+ attr_accessor :ip_address
2211
+ attr_accessor :dhcp
2212
+ attr_accessor :network_id
2213
+ attr_accessor :status
2214
+ attr_accessor :mac_address
2215
+
2216
+ def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil, mac_address = nil)
2217
+ @id = id
2218
+ @ip_address = ip_address
2219
+ @dhcp = dhcp
2220
+ @network_id = network_id
2221
+ @status = status
2222
+ @mac_address = mac_address
2223
+ end
2224
+ end
2225
+
2226
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}net_vethType
2227
+ # id - SOAP::SOAPString
2228
+ # ip_address - Virtuozzo::SOAP::Drivers::Device::Ip_addressType
2229
+ # dhcp - (any)
2230
+ # network_id - SOAP::SOAPBase64
2231
+ # status - Virtuozzo::SOAP::Drivers::Device::Net_vethType::Status
2232
+ # mac_address - SOAP::SOAPString
2233
+ # wins_server - SOAP::SOAPString
2234
+ # nameserver - SOAP::SOAPString
2235
+ # default_gateway - SOAP::SOAPString
2236
+ # host_routed - (any)
2237
+ class Net_vethType < Net_nicType
2238
+
2239
+ # inner class for member: status
2240
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
2241
+ # up - (any)
2242
+ # down - (any)
2243
+ class Status
2244
+ attr_accessor :up
2245
+ attr_accessor :down
2246
+
2247
+ def initialize(up = nil, down = nil)
2248
+ @up = up
2249
+ @down = down
2250
+ end
2251
+ end
2252
+
2253
+ attr_accessor :id
2254
+ attr_accessor :ip_address
2255
+ attr_accessor :dhcp
2256
+ attr_accessor :network_id
2257
+ attr_accessor :status
2258
+ attr_accessor :mac_address
2259
+ attr_accessor :wins_server
2260
+ attr_accessor :nameserver
2261
+ attr_accessor :default_gateway
2262
+ attr_accessor :host_routed
2263
+
2264
+ def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil, mac_address = nil, wins_server = [], nameserver = [], default_gateway = nil, host_routed = nil)
2265
+ @id = id
2266
+ @ip_address = ip_address
2267
+ @dhcp = dhcp
2268
+ @network_id = network_id
2269
+ @status = status
2270
+ @mac_address = mac_address
2271
+ @wins_server = wins_server
2272
+ @nameserver = nameserver
2273
+ @default_gateway = default_gateway
2274
+ @host_routed = host_routed
2275
+ end
2276
+ end
2277
+
2278
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}voc_parameterType
2279
+ # id - SOAP::SOAPString
2280
+ # type - SOAP::SOAPString
2281
+ # min - SOAP::SOAPString
2282
+ # max - SOAP::SOAPString
2283
+ # long - SOAP::SOAPString
2284
+ # short - SOAP::SOAPString
2285
+ # category - SOAP::SOAPString
2286
+ # complex - SOAP::SOAPString
2287
+ # default - SOAP::SOAPString
2288
+ # measure - SOAP::SOAPString
2289
+ # data - (any)
2290
+ # name - (any)
2291
+ class Voc_parameterType
2292
+ attr_accessor :id
2293
+ attr_accessor :type
2294
+ attr_accessor :min
2295
+ attr_accessor :max
2296
+ attr_accessor :long
2297
+ attr_accessor :short
2298
+ attr_accessor :category
2299
+ attr_accessor :complex
2300
+ attr_accessor :default
2301
+ attr_accessor :measure
2302
+ attr_accessor :data
2303
+ attr_accessor :name
2304
+
2305
+ def initialize(id = nil, type = nil, min = nil, max = nil, long = nil, short = nil, category = [], complex = nil, default = nil, measure = nil, data = nil, name = nil)
2306
+ @id = id
2307
+ @type = type
2308
+ @min = min
2309
+ @max = max
2310
+ @long = long
2311
+ @short = short
2312
+ @category = category
2313
+ @complex = complex
2314
+ @default = default
2315
+ @measure = measure
2316
+ @data = data
2317
+ @name = name
2318
+ end
2319
+ end
2320
+
2321
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vocabularyType
2322
+ # name - SOAP::SOAPString
2323
+ # parameter - Virtuozzo::SOAP::Drivers::Device::Voc_parameterType
2324
+ # category - Virtuozzo::SOAP::Drivers::Device::Voc_parameterType
2325
+ class VocabularyType
2326
+ attr_accessor :name
2327
+ attr_accessor :parameter
2328
+ attr_accessor :category
2329
+
2330
+ def initialize(name = nil, parameter = [], category = [])
2331
+ @name = name
2332
+ @parameter = parameter
2333
+ @category = category
2334
+ end
2335
+ end
2336
+
2337
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}perf_statType
2338
+ # cur - SOAP::SOAPAnySimpleType
2339
+ # avg - SOAP::SOAPAnySimpleType
2340
+ # max - SOAP::SOAPAnySimpleType
2341
+ # min - SOAP::SOAPAnySimpleType
2342
+ class Perf_statType
2343
+ attr_accessor :cur
2344
+ attr_accessor :avg
2345
+ attr_accessor :max
2346
+ attr_accessor :min
2347
+
2348
+ def initialize(cur = nil, avg = nil, max = nil, min = nil)
2349
+ @cur = cur
2350
+ @avg = avg
2351
+ @max = max
2352
+ @min = min
2353
+ end
2354
+ end
2355
+
2356
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}perf_dataType
2357
+ # eid - (any)
2358
+ # m_class - Virtuozzo::SOAP::Drivers::Device::Perf_dataType::C_Class
2359
+ # interval - Virtuozzo::SOAP::Drivers::Device::IntervalType
2360
+ class Perf_dataType
2361
+
2362
+ # inner class for member: class
2363
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}class
2364
+ # name - SOAP::SOAPString
2365
+ # instance - Virtuozzo::SOAP::Drivers::Device::Perf_dataType::C_Class::Instance
2366
+ class C_Class
2367
+
2368
+ # inner class for member: instance
2369
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}instance
2370
+ # name - SOAP::SOAPString
2371
+ # counter - Virtuozzo::SOAP::Drivers::Device::Perf_dataType::C_Class::Instance::Counter
2372
+ class Instance
2373
+
2374
+ # inner class for member: counter
2375
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}counter
2376
+ # name - SOAP::SOAPString
2377
+ # value - Virtuozzo::SOAP::Drivers::Device::Perf_statType
2378
+ class Counter
2379
+ attr_accessor :name
2380
+ attr_accessor :value
2381
+
2382
+ def initialize(name = nil, value = nil)
2383
+ @name = name
2384
+ @value = value
2385
+ end
2386
+ end
2387
+
2388
+ attr_accessor :name
2389
+ attr_accessor :counter
2390
+
2391
+ def initialize(name = nil, counter = [])
2392
+ @name = name
2393
+ @counter = counter
2394
+ end
2395
+ end
2396
+
2397
+ attr_accessor :name
2398
+ attr_accessor :instance
2399
+
2400
+ def initialize(name = nil, instance = [])
2401
+ @name = name
2402
+ @instance = instance
2403
+ end
2404
+ end
2405
+
2406
+ attr_accessor :eid
2407
+ attr_accessor :interval
2408
+
2409
+ def m_class
2410
+ @v_class
2411
+ end
2412
+
2413
+ def m_class=(value)
2414
+ @v_class = value
2415
+ end
2416
+
2417
+ def initialize(eid = nil, v_class = [], interval = nil)
2418
+ @eid = eid
2419
+ @v_class = v_class
2420
+ @interval = interval
2421
+ end
2422
+ end
2423
+
2424
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}log_options_baseType
2425
+ class Log_options_baseType
2426
+ def initialize
2427
+ end
2428
+ end
2429
+
2430
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}log_optionsType
2431
+ class Log_optionsType < Log_options_baseType
2432
+ def initialize
2433
+ end
2434
+ end
2435
+
2436
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}log_optionsType
2437
+ # type - SOAP::SOAPInt
2438
+ class Log_optionsType_ < Log_options_baseType
2439
+ attr_accessor :type
2440
+
2441
+ def initialize(type = nil)
2442
+ @type = type
2443
+ end
2444
+ end
2445
+
2446
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}redirect_serviceType
2447
+ # id - SOAP::SOAPString
2448
+ # port - SOAP::SOAPInt
2449
+ # dst - (any)
2450
+ # default - (any)
2451
+ class Redirect_serviceType
2452
+ attr_accessor :id
2453
+ attr_accessor :port
2454
+ attr_accessor :dst
2455
+ attr_accessor :default
2456
+
2457
+ def initialize(id = nil, port = nil, dst = nil, default = nil)
2458
+ @id = id
2459
+ @port = port
2460
+ @dst = dst
2461
+ @default = default
2462
+ end
2463
+ end
2464
+
2465
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}templateType
2466
+ # name - SOAP::SOAPString
2467
+ # version - SOAP::SOAPString
2468
+ class TemplateType
2469
+ attr_accessor :name
2470
+ attr_accessor :version
2471
+
2472
+ def initialize(name = nil, version = nil)
2473
+ @name = name
2474
+ @version = version
2475
+ end
2476
+ end
2477
+
2478
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}mount_deviceType
2479
+ # permanent - SOAP::SOAPBoolean
2480
+ # device - SOAP::SOAPString
2481
+ # point - SOAP::SOAPString
2482
+ # filesystem - SOAP::SOAPString
2483
+ # active - SOAP::SOAPBoolean
2484
+ # size - SOAP::SOAPLong
2485
+ # interface - SOAP::SOAPString
2486
+ class Mount_deviceType
2487
+ attr_accessor :permanent
2488
+ attr_accessor :device
2489
+ attr_accessor :point
2490
+ attr_accessor :filesystem
2491
+ attr_accessor :active
2492
+ attr_accessor :size
2493
+ attr_accessor :interface
2494
+
2495
+ def initialize(permanent = nil, device = nil, point = nil, filesystem = nil, active = nil, size = nil, interface = nil)
2496
+ @permanent = permanent
2497
+ @device = device
2498
+ @point = point
2499
+ @filesystem = filesystem
2500
+ @active = active
2501
+ @size = size
2502
+ @interface = interface
2503
+ end
2504
+ end
2505
+
2506
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}common_deviceType
2507
+ # name - SOAP::SOAPString
2508
+ # description - SOAP::SOAPString
2509
+ class Common_deviceType
2510
+ attr_accessor :name
2511
+ attr_accessor :description
2512
+
2513
+ def initialize(name = nil, description = nil)
2514
+ @name = name
2515
+ @description = description
2516
+ end
2517
+ end
2518
+
2519
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}windows_deviceType
2520
+ # name - SOAP::SOAPString
2521
+ # description - SOAP::SOAPString
2522
+ # physical_name - SOAP::SOAPBase64
2523
+ class Windows_deviceType < Common_deviceType
2524
+ attr_accessor :name
2525
+ attr_accessor :description
2526
+ attr_accessor :physical_name
2527
+
2528
+ def initialize(name = nil, description = nil, physical_name = nil)
2529
+ @name = name
2530
+ @description = description
2531
+ @physical_name = physical_name
2532
+ end
2533
+ end
2534
+
2535
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}scsi_deviceType
2536
+ # name - SOAP::SOAPString
2537
+ # description - SOAP::SOAPString
2538
+ # physical_name - SOAP::SOAPBase64
2539
+ class Scsi_deviceType < Windows_deviceType
2540
+ attr_accessor :name
2541
+ attr_accessor :description
2542
+ attr_accessor :physical_name
2543
+
2544
+ def initialize(name = nil, description = nil, physical_name = nil)
2545
+ @name = name
2546
+ @description = description
2547
+ @physical_name = physical_name
2548
+ end
2549
+ end
2550
+
2551
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}transport_type
2552
+ class Transport_type < ::String
2553
+ Tcp = Transport_type.new("tcp")
2554
+ Udp = Transport_type.new("udp")
2555
+ end
2556
+
2557
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}yes_no_type
2558
+ class Yes_no_type < ::String
2559
+ No = Yes_no_type.new("no")
2560
+ Yes = Yes_no_type.new("yes")
2561
+ end
2562
+
2563
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzadevm}vzadevm
2564
+ # configuration - Virtuozzo::SOAP::Drivers::Device::ConfigurationType
2565
+ # ok - Virtuozzo::SOAP::Drivers::Device::Vzadevm::Ok
2566
+ # error - Virtuozzo::SOAP::Drivers::Device::Vzadevm::Error
2567
+ # get_mounts - Virtuozzo::SOAP::Drivers::Device::Get_mounts
2568
+ # new_mount - Virtuozzo::SOAP::Drivers::Device::New_mount
2569
+ # umount - Virtuozzo::SOAP::Drivers::Device::Umount
2570
+ # get_info - Virtuozzo::SOAP::Drivers::Device::Get_info
2571
+ # create_drive - Virtuozzo::SOAP::Drivers::Device::Create_drive
2572
+ # delete_drive - Virtuozzo::SOAP::Drivers::Device::Delete_drive
2573
+ # resize_drive - Virtuozzo::SOAP::Drivers::Device::Resize_drive
2574
+ # format_drive - Virtuozzo::SOAP::Drivers::Device::Format_drive
2575
+ # list_device - Virtuozzo::SOAP::Drivers::Device::List_device
2576
+ # forward_device - Virtuozzo::SOAP::Drivers::Device::Forward_device
2577
+ # remove_forward - Virtuozzo::SOAP::Drivers::Device::Remove_forward
2578
+ # list_forward - Virtuozzo::SOAP::Drivers::Device::List_forward
2579
+ # mount - Virtuozzo::SOAP::Drivers::Device::Mount_deviceType
2580
+ # device_info - Virtuozzo::SOAP::Drivers::Device::Device_info
2581
+ # device - Virtuozzo::SOAP::Drivers::Device::Common_deviceType
2582
+ # forward - Virtuozzo::SOAP::Drivers::Device::Forward
2583
+ class Vzadevm < VzadevmType
2584
+
2585
+ # inner class for member: ok
2586
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
2587
+ class Ok
2588
+ def initialize
2589
+ end
2590
+ end
2591
+
2592
+ # inner class for member: error
2593
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
2594
+ # code - SOAP::SOAPInt
2595
+ # message - SOAP::SOAPString
2596
+ class Error
2597
+ attr_accessor :code
2598
+ attr_accessor :message
2599
+
2600
+ def initialize(code = nil, message = nil)
2601
+ @code = code
2602
+ @message = message
2603
+ end
2604
+ end
2605
+
2606
+ attr_accessor :configuration
2607
+ attr_accessor :ok
2608
+ attr_accessor :error
2609
+ attr_accessor :get_mounts
2610
+ attr_accessor :new_mount
2611
+ attr_accessor :umount
2612
+ attr_accessor :get_info
2613
+ attr_accessor :create_drive
2614
+ attr_accessor :delete_drive
2615
+ attr_accessor :resize_drive
2616
+ attr_accessor :format_drive
2617
+ attr_accessor :list_device
2618
+ attr_accessor :forward_device
2619
+ attr_accessor :remove_forward
2620
+ attr_accessor :list_forward
2621
+ attr_accessor :mount
2622
+ attr_accessor :device_info
2623
+ attr_accessor :device
2624
+ attr_accessor :forward
2625
+
2626
+ def initialize(configuration = nil, ok = [], error = [], get_mounts = [], new_mount = [], umount = [], get_info = [], create_drive = [], delete_drive = [], resize_drive = [], format_drive = [], list_device = [], forward_device = [], remove_forward = [], list_forward = [], mount = [], device_info = [], device = [], forward = [])
2627
+ @configuration = configuration
2628
+ @ok = ok
2629
+ @error = error
2630
+ @get_mounts = get_mounts
2631
+ @new_mount = new_mount
2632
+ @umount = umount
2633
+ @get_info = get_info
2634
+ @create_drive = create_drive
2635
+ @delete_drive = delete_drive
2636
+ @resize_drive = resize_drive
2637
+ @format_drive = format_drive
2638
+ @list_device = list_device
2639
+ @forward_device = forward_device
2640
+ @remove_forward = remove_forward
2641
+ @list_forward = list_forward
2642
+ @mount = mount
2643
+ @device_info = device_info
2644
+ @device = device
2645
+ @forward = forward
2646
+ end
2647
+ end
2648
+
2649
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}packet
2650
+ # auth - Virtuozzo::SOAP::Drivers::Device::AuthType
2651
+ # cookie - SOAP::SOAPString
2652
+ # target - SOAP::SOAPString
2653
+ # origin - SOAP::SOAPString
2654
+ # src - Virtuozzo::SOAP::Drivers::Device::RouteType
2655
+ # dst - Virtuozzo::SOAP::Drivers::Device::RouteType
2656
+ # session - SOAP::SOAPString
2657
+ # data - Virtuozzo::SOAP::Drivers::Device::Packet::C_Data
2658
+ # xmlattr_version - SOAP::SOAPString
2659
+ # xmlattr_id - SOAP::SOAPString
2660
+ # xmlattr_priority - SOAP::SOAPString
2661
+ # xmlattr_time - SOAP::SOAPString
2662
+ # xmlattr_progress - SOAP::SOAPString
2663
+ # xmlattr_log - SOAP::SOAPString
2664
+ # xmlattr_type - SOAP::SOAPInt
2665
+ # xmlattr_timeout - SOAP::SOAPInt
2666
+ # xmlattr_timeout_limit - SOAP::SOAPInt
2667
+ # xmlattr_uid - SOAP::SOAPInt
2668
+ class Packet < Packet_headerType
2669
+ AttrC_Time = XSD::QName.new(nil, "time")
2670
+ AttrId = XSD::QName.new(nil, "id")
2671
+ AttrLog = XSD::QName.new(nil, "log")
2672
+ AttrPriority = XSD::QName.new(nil, "priority")
2673
+ AttrProgress = XSD::QName.new(nil, "progress")
2674
+ AttrTimeout = XSD::QName.new(nil, "timeout")
2675
+ AttrTimeout_limit = XSD::QName.new(nil, "timeout_limit")
2676
+ AttrType = XSD::QName.new(nil, "type")
2677
+ AttrUid = XSD::QName.new(nil, "uid")
2678
+ AttrVersion = XSD::QName.new(nil, "version")
2679
+
2680
+ # inner class for member: data
2681
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}data
2682
+ class C_Data < ::Array
2683
+ end
2684
+
2685
+ attr_accessor :auth
2686
+ attr_accessor :cookie
2687
+ attr_accessor :target
2688
+ attr_accessor :origin
2689
+ attr_accessor :src
2690
+ attr_accessor :dst
2691
+ attr_accessor :session
2692
+ attr_accessor :data
2693
+
2694
+ def __xmlattr
2695
+ @__xmlattr ||= {}
2696
+ end
2697
+
2698
+ def xmlattr_version
2699
+ __xmlattr[AttrVersion]
2700
+ end
2701
+
2702
+ def xmlattr_version=(value)
2703
+ __xmlattr[AttrVersion] = value
2704
+ end
2705
+
2706
+ def xmlattr_id
2707
+ __xmlattr[AttrId]
2708
+ end
2709
+
2710
+ def xmlattr_id=(value)
2711
+ __xmlattr[AttrId] = value
2712
+ end
2713
+
2714
+ def xmlattr_priority
2715
+ __xmlattr[AttrPriority]
2716
+ end
2717
+
2718
+ def xmlattr_priority=(value)
2719
+ __xmlattr[AttrPriority] = value
2720
+ end
2721
+
2722
+ def xmlattr_time
2723
+ __xmlattr[AttrC_Time]
2724
+ end
2725
+
2726
+ def xmlattr_time=(value)
2727
+ __xmlattr[AttrC_Time] = value
2728
+ end
2729
+
2730
+ def xmlattr_progress
2731
+ __xmlattr[AttrProgress]
2732
+ end
2733
+
2734
+ def xmlattr_progress=(value)
2735
+ __xmlattr[AttrProgress] = value
2736
+ end
2737
+
2738
+ def xmlattr_log
2739
+ __xmlattr[AttrLog]
2740
+ end
2741
+
2742
+ def xmlattr_log=(value)
2743
+ __xmlattr[AttrLog] = value
2744
+ end
2745
+
2746
+ def xmlattr_type
2747
+ __xmlattr[AttrType]
2748
+ end
2749
+
2750
+ def xmlattr_type=(value)
2751
+ __xmlattr[AttrType] = value
2752
+ end
2753
+
2754
+ def xmlattr_timeout
2755
+ __xmlattr[AttrTimeout]
2756
+ end
2757
+
2758
+ def xmlattr_timeout=(value)
2759
+ __xmlattr[AttrTimeout] = value
2760
+ end
2761
+
2762
+ def xmlattr_timeout_limit
2763
+ __xmlattr[AttrTimeout_limit]
2764
+ end
2765
+
2766
+ def xmlattr_timeout_limit=(value)
2767
+ __xmlattr[AttrTimeout_limit] = value
2768
+ end
2769
+
2770
+ def xmlattr_uid
2771
+ __xmlattr[AttrUid]
2772
+ end
2773
+
2774
+ def xmlattr_uid=(value)
2775
+ __xmlattr[AttrUid] = value
2776
+ end
2777
+
2778
+ def initialize(auth = nil, cookie = nil, target = [], origin = nil, src = nil, dst = nil, session = nil, data = nil)
2779
+ @auth = auth
2780
+ @cookie = cookie
2781
+ @target = target
2782
+ @origin = origin
2783
+ @src = src
2784
+ @dst = dst
2785
+ @session = session
2786
+ @data = data
2787
+ @__xmlattr = {}
2788
+ end
2789
+ end
2790
+
2791
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ok
2792
+ class Ok < ::String
2793
+ def initialize(*arg)
2794
+ super
2795
+ end
2796
+ end
2797
+
2798
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}interface_rate
2799
+ # class_id - SOAP::SOAPString
2800
+ # net_device_id - SOAP::SOAPString
2801
+ # rate - SOAP::SOAPLong
2802
+ class Interface_rate
2803
+ attr_accessor :class_id
2804
+ attr_accessor :net_device_id
2805
+ attr_accessor :rate
2806
+
2807
+ def initialize(class_id = nil, net_device_id = nil, rate = nil)
2808
+ @class_id = class_id
2809
+ @net_device_id = net_device_id
2810
+ @rate = rate
2811
+ end
2812
+ end
2813
+
2814
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}get_mounts
2815
+ # eid - (any)
2816
+ class Get_mounts
2817
+ attr_accessor :eid
2818
+
2819
+ def initialize(eid = nil)
2820
+ @eid = eid
2821
+ end
2822
+ end
2823
+
2824
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}new_mount
2825
+ # permanent - SOAP::SOAPBoolean
2826
+ # device - SOAP::SOAPString
2827
+ # point - SOAP::SOAPString
2828
+ # filesystem - SOAP::SOAPString
2829
+ # active - SOAP::SOAPBoolean
2830
+ # size - SOAP::SOAPLong
2831
+ # interface - SOAP::SOAPString
2832
+ # eid - (any)
2833
+ class New_mount < Mount_deviceType
2834
+ attr_accessor :permanent
2835
+ attr_accessor :device
2836
+ attr_accessor :point
2837
+ attr_accessor :filesystem
2838
+ attr_accessor :active
2839
+ attr_accessor :size
2840
+ attr_accessor :interface
2841
+ attr_accessor :eid
2842
+
2843
+ def initialize(permanent = nil, device = nil, point = nil, filesystem = nil, active = nil, size = nil, interface = nil, eid = nil)
2844
+ @permanent = permanent
2845
+ @device = device
2846
+ @point = point
2847
+ @filesystem = filesystem
2848
+ @active = active
2849
+ @size = size
2850
+ @interface = interface
2851
+ @eid = eid
2852
+ end
2853
+ end
2854
+
2855
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}umount
2856
+ # permanent - SOAP::SOAPBoolean
2857
+ # device - SOAP::SOAPString
2858
+ # point - SOAP::SOAPString
2859
+ # filesystem - SOAP::SOAPString
2860
+ # active - SOAP::SOAPBoolean
2861
+ # size - SOAP::SOAPLong
2862
+ # interface - SOAP::SOAPString
2863
+ # eid - (any)
2864
+ class Umount < Mount_deviceType
2865
+ attr_accessor :permanent
2866
+ attr_accessor :device
2867
+ attr_accessor :point
2868
+ attr_accessor :filesystem
2869
+ attr_accessor :active
2870
+ attr_accessor :size
2871
+ attr_accessor :interface
2872
+ attr_accessor :eid
2873
+
2874
+ def initialize(permanent = nil, device = nil, point = nil, filesystem = nil, active = nil, size = nil, interface = nil, eid = nil)
2875
+ @permanent = permanent
2876
+ @device = device
2877
+ @point = point
2878
+ @filesystem = filesystem
2879
+ @active = active
2880
+ @size = size
2881
+ @interface = interface
2882
+ @eid = eid
2883
+ end
2884
+ end
2885
+
2886
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}get_info
2887
+ class Get_info < ::String
2888
+ def initialize(*arg)
2889
+ super
2890
+ end
2891
+ end
2892
+
2893
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}device_info
2894
+ # filesystem - SOAP::SOAPString
2895
+ # device - SOAP::SOAPString
2896
+ # partition - SOAP::SOAPString
2897
+ class Device_info
2898
+ attr_accessor :filesystem
2899
+ attr_accessor :device
2900
+ attr_accessor :partition
2901
+
2902
+ def initialize(filesystem = [], device = [], partition = [])
2903
+ @filesystem = filesystem
2904
+ @device = device
2905
+ @partition = partition
2906
+ end
2907
+ end
2908
+
2909
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}create_drive
2910
+ # permanent - SOAP::SOAPBoolean
2911
+ # device - SOAP::SOAPString
2912
+ # point - SOAP::SOAPString
2913
+ # filesystem - SOAP::SOAPString
2914
+ # active - SOAP::SOAPBoolean
2915
+ # size - SOAP::SOAPLong
2916
+ # interface - SOAP::SOAPString
2917
+ # eid - (any)
2918
+ class Create_drive < Mount_deviceType
2919
+ attr_accessor :permanent
2920
+ attr_accessor :device
2921
+ attr_accessor :point
2922
+ attr_accessor :filesystem
2923
+ attr_accessor :active
2924
+ attr_accessor :size
2925
+ attr_accessor :interface
2926
+ attr_accessor :eid
2927
+
2928
+ def initialize(permanent = nil, device = nil, point = nil, filesystem = nil, active = nil, size = nil, interface = nil, eid = nil)
2929
+ @permanent = permanent
2930
+ @device = device
2931
+ @point = point
2932
+ @filesystem = filesystem
2933
+ @active = active
2934
+ @size = size
2935
+ @interface = interface
2936
+ @eid = eid
2937
+ end
2938
+ end
2939
+
2940
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}delete_drive
2941
+ # eid - (any)
2942
+ # point - SOAP::SOAPString
2943
+ # device - SOAP::SOAPString
2944
+ class Delete_drive
2945
+ attr_accessor :eid
2946
+ attr_accessor :point
2947
+ attr_accessor :device
2948
+
2949
+ def initialize(eid = nil, point = nil, device = nil)
2950
+ @eid = eid
2951
+ @point = point
2952
+ @device = device
2953
+ end
2954
+ end
2955
+
2956
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}resize_drive
2957
+ # size - SOAP::SOAPLong
2958
+ # eid - (any)
2959
+ # point - SOAP::SOAPString
2960
+ # device - SOAP::SOAPString
2961
+ class Resize_drive
2962
+ attr_accessor :size
2963
+ attr_accessor :eid
2964
+ attr_accessor :point
2965
+ attr_accessor :device
2966
+
2967
+ def initialize(size = nil, eid = nil, point = nil, device = nil)
2968
+ @size = size
2969
+ @eid = eid
2970
+ @point = point
2971
+ @device = device
2972
+ end
2973
+ end
2974
+
2975
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}format_drive
2976
+ # device - SOAP::SOAPString
2977
+ # type - SOAP::SOAPString
2978
+ # label - SOAP::SOAPString
2979
+ # block_size - SOAP::SOAPLong
2980
+ class Format_drive
2981
+ attr_accessor :device
2982
+ attr_accessor :type
2983
+ attr_accessor :label
2984
+ attr_accessor :block_size
2985
+
2986
+ def initialize(device = nil, type = nil, label = nil, block_size = nil)
2987
+ @device = device
2988
+ @type = type
2989
+ @label = label
2990
+ @block_size = block_size
2991
+ end
2992
+ end
2993
+
2994
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}get_mountsResponse
2995
+ class Get_mountsResponse < ::Array
2996
+ end
2997
+
2998
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}new_mountResponse
2999
+ class New_mountResponse
3000
+ def initialize
3001
+ end
3002
+ end
3003
+
3004
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}umountResponse
3005
+ class UmountResponse
3006
+ def initialize
3007
+ end
3008
+ end
3009
+
3010
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}get_infoResponse
3011
+ # device_info - Virtuozzo::SOAP::Drivers::Device::Device_info
3012
+ class Get_infoResponse
3013
+ attr_accessor :device_info
3014
+
3015
+ def initialize(device_info = nil)
3016
+ @device_info = device_info
3017
+ end
3018
+ end
3019
+
3020
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}create_driveResponse
3021
+ # device_info - Virtuozzo::SOAP::Drivers::Device::Device_info
3022
+ class Create_driveResponse
3023
+ attr_accessor :device_info
3024
+
3025
+ def initialize(device_info = nil)
3026
+ @device_info = device_info
3027
+ end
3028
+ end
3029
+
3030
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}delete_driveResponse
3031
+ class Delete_driveResponse
3032
+ def initialize
3033
+ end
3034
+ end
3035
+
3036
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}resize_driveResponse
3037
+ class Resize_driveResponse
3038
+ def initialize
3039
+ end
3040
+ end
3041
+
3042
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}forward
3043
+ # source - Virtuozzo::SOAP::Drivers::Device::Forward::Source
3044
+ # destination - Virtuozzo::SOAP::Drivers::Device::Forward::Destination
3045
+ class Forward
3046
+
3047
+ # inner class for member: source
3048
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}source
3049
+ # eid - (any)
3050
+ # device - Virtuozzo::SOAP::Drivers::Device::Common_deviceType
3051
+ class Source
3052
+ attr_accessor :eid
3053
+ attr_accessor :device
3054
+
3055
+ def initialize(eid = nil, device = nil)
3056
+ @eid = eid
3057
+ @device = device
3058
+ end
3059
+ end
3060
+
3061
+ # inner class for member: destination
3062
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}destination
3063
+ # eid - (any)
3064
+ # device - Virtuozzo::SOAP::Drivers::Device::Common_deviceType
3065
+ class Destination
3066
+ attr_accessor :eid
3067
+ attr_accessor :device
3068
+
3069
+ def initialize(eid = nil, device = nil)
3070
+ @eid = eid
3071
+ @device = device
3072
+ end
3073
+ end
3074
+
3075
+ attr_accessor :source
3076
+ attr_accessor :destination
3077
+
3078
+ def initialize(source = nil, destination = nil)
3079
+ @source = source
3080
+ @destination = destination
3081
+ end
3082
+ end
3083
+
3084
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}list_device
3085
+ class List_device < ::Array
3086
+ end
3087
+
3088
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}list_deviceResponse
3089
+ class List_deviceResponse < ::Array
3090
+ end
3091
+
3092
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}forward_device
3093
+ # forward - Virtuozzo::SOAP::Drivers::Device::Forward
3094
+ class Forward_device
3095
+ attr_accessor :forward
3096
+
3097
+ def initialize(forward = nil)
3098
+ @forward = forward
3099
+ end
3100
+ end
3101
+
3102
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}forward_deviceResponse
3103
+ class Forward_deviceResponse < ::String
3104
+ def initialize(*arg)
3105
+ super
3106
+ end
3107
+ end
3108
+
3109
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}remove_forward
3110
+ # forward - Virtuozzo::SOAP::Drivers::Device::Forward
3111
+ # force - (any)
3112
+ class Remove_forward
3113
+ attr_accessor :forward
3114
+ attr_accessor :force
3115
+
3116
+ def initialize(forward = nil, force = nil)
3117
+ @forward = forward
3118
+ @force = force
3119
+ end
3120
+ end
3121
+
3122
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}remove_forwardResponse
3123
+ class Remove_forwardResponse < ::String
3124
+ def initialize(*arg)
3125
+ super
3126
+ end
3127
+ end
3128
+
3129
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}list_forward
3130
+ # eid - (any)
3131
+ class List_forward
3132
+ attr_accessor :eid
3133
+
3134
+ def initialize(eid = nil)
3135
+ @eid = eid
3136
+ end
3137
+ end
3138
+
3139
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/devm}list_forwardResponse
3140
+ class List_forwardResponse < ::Array
3141
+ end
3142
+
3143
+
3144
+ end; end; end; end