plainprograms-virtuozzo 0.5.3 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. data/CHANGELOG.rdoc +21 -0
  2. data/Rakefile +3 -3
  3. data/TODO.rdoc +20 -0
  4. data/lib/virtuozzo/soap.rb +216 -0
  5. data/lib/virtuozzo/soap/drivers/alertm.rb +78 -0
  6. data/lib/virtuozzo/soap/drivers/authm.rb +172 -0
  7. data/lib/virtuozzo/soap/drivers/backupm.rb +108 -0
  8. data/lib/virtuozzo/soap/drivers/computerm.rb +108 -0
  9. data/lib/virtuozzo/soap/drivers/env_samplem.rb +84 -0
  10. data/lib/virtuozzo/soap/drivers/event_log.rb +60 -0
  11. data/lib/virtuozzo/soap/drivers/filer.rb +156 -0
  12. data/lib/virtuozzo/soap/drivers/firewallm.rb +100 -0
  13. data/lib/virtuozzo/soap/drivers/licensem.rb +100 -0
  14. data/lib/virtuozzo/soap/drivers/mailer.rb +108 -0
  15. data/lib/virtuozzo/soap/drivers/op_log.rb +60 -0
  16. data/lib/virtuozzo/soap/drivers/perf_mon.rb +76 -0
  17. data/lib/virtuozzo/soap/drivers/res_log.rb +84 -0
  18. data/lib/virtuozzo/soap/drivers/resourcem.rb +100 -0
  19. data/lib/virtuozzo/soap/drivers/scheduler.rb +84 -0
  20. data/lib/virtuozzo/soap/drivers/server_group.rb +140 -0
  21. data/lib/virtuozzo/soap/drivers/servicem.rb +100 -0
  22. data/lib/virtuozzo/soap/drivers/userm.rb +156 -0
  23. data/lib/virtuozzo/soap/mapping_registries/alertm.rb +2799 -0
  24. data/lib/virtuozzo/soap/mapping_registries/authm.rb +3292 -0
  25. data/lib/virtuozzo/soap/mapping_registries/backupm.rb +3597 -0
  26. data/lib/virtuozzo/soap/mapping_registries/computerm.rb +2896 -0
  27. data/lib/virtuozzo/soap/mapping_registries/env_samplem.rb +2735 -0
  28. data/lib/virtuozzo/soap/mapping_registries/event_log.rb +2695 -0
  29. data/lib/virtuozzo/soap/mapping_registries/filer.rb +3211 -0
  30. data/lib/virtuozzo/soap/mapping_registries/firewallm.rb +2815 -0
  31. data/lib/virtuozzo/soap/mapping_registries/licensem.rb +2889 -0
  32. data/lib/virtuozzo/soap/mapping_registries/mailer.rb +2831 -0
  33. data/lib/virtuozzo/soap/mapping_registries/op_log.rb +2724 -0
  34. data/lib/virtuozzo/soap/mapping_registries/perf_mon.rb +2798 -0
  35. data/lib/virtuozzo/soap/mapping_registries/res_log.rb +2946 -0
  36. data/lib/virtuozzo/soap/mapping_registries/resourcem.rb +2837 -0
  37. data/lib/virtuozzo/soap/mapping_registries/scheduler.rb +2928 -0
  38. data/lib/virtuozzo/soap/mapping_registries/server_group.rb +3161 -0
  39. data/lib/virtuozzo/soap/mapping_registries/servicem.rb +2949 -0
  40. data/lib/virtuozzo/soap/mapping_registries/userm.rb +3173 -0
  41. data/lib/virtuozzo/soap/types/alertm.rb +2233 -0
  42. data/lib/virtuozzo/soap/types/authm.rb +2655 -0
  43. data/lib/virtuozzo/soap/types/backupm.rb +2773 -0
  44. data/lib/virtuozzo/soap/types/computerm.rb +2334 -0
  45. data/lib/virtuozzo/soap/types/env_samplem.rb +2159 -0
  46. data/lib/virtuozzo/soap/types/event_log.rb +2125 -0
  47. data/lib/virtuozzo/soap/types/filer.rb +2807 -0
  48. data/lib/virtuozzo/soap/types/firewallm.rb +2225 -0
  49. data/lib/virtuozzo/soap/types/licensem.rb +2266 -0
  50. data/lib/virtuozzo/soap/types/mailer.rb +2311 -0
  51. data/lib/virtuozzo/soap/types/op_log.rb +2156 -0
  52. data/lib/virtuozzo/soap/types/perf_mon.rb +2258 -0
  53. data/lib/virtuozzo/soap/types/res_log.rb +2340 -0
  54. data/lib/virtuozzo/soap/types/resourcem.rb +2213 -0
  55. data/lib/virtuozzo/soap/types/scheduler.rb +2307 -0
  56. data/lib/virtuozzo/soap/types/server_group.rb +2467 -0
  57. data/lib/virtuozzo/soap/types/servicem.rb +2292 -0
  58. data/lib/virtuozzo/soap/types/userm.rb +2599 -0
  59. data/virtuozzo.gemspec +10 -10
  60. metadata +116 -6
@@ -0,0 +1,2340 @@
1
+ require 'xsd/qname'
2
+
3
+ module Virtuozzo
4
+ module SOAP
5
+ module Types
6
+ module ResLog
7
+
8
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/res_log}logType
9
+ # m_class - Virtuozzo::SOAP::Types::ResLog::LogType::C_Class
10
+ # period - SOAP::SOAPInt
11
+ class LogType
12
+
13
+ # inner class for member: class
14
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/res_log}class
15
+ # name - SOAP::SOAPString
16
+ class C_Class < ClassType
17
+ attr_accessor :name
18
+
19
+ def initialize(name = nil)
20
+ @name = name
21
+ end
22
+ end
23
+
24
+ attr_accessor :period
25
+
26
+ def m_class
27
+ @v_class
28
+ end
29
+
30
+ def m_class=(value)
31
+ @v_class = value
32
+ end
33
+
34
+ def initialize(v_class = [], period = nil)
35
+ @v_class = v_class
36
+ @period = period
37
+ end
38
+ end
39
+
40
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/res_log}classType
41
+ # name - SOAP::SOAPString
42
+ # instance - SOAP::SOAPString
43
+ # counter - SOAP::SOAPString
44
+ class ClassType
45
+ attr_accessor :name
46
+ attr_accessor :instance
47
+ attr_accessor :counter
48
+
49
+ def initialize(name = nil, instance = nil, counter = nil)
50
+ @name = name
51
+ @instance = instance
52
+ @counter = counter
53
+ end
54
+ end
55
+
56
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}osType
57
+ # platform - SOAP::SOAPString
58
+ # name - SOAP::SOAPString
59
+ # version - SOAP::SOAPString
60
+ # kernel - SOAP::SOAPString
61
+ class OsType
62
+ attr_accessor :platform
63
+ attr_accessor :name
64
+ attr_accessor :version
65
+ attr_accessor :kernel
66
+
67
+ def initialize(platform = nil, name = nil, version = nil, kernel = nil)
68
+ @platform = platform
69
+ @name = name
70
+ @version = version
71
+ @kernel = kernel
72
+ end
73
+ end
74
+
75
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_statusType
76
+ # state - SOAP::SOAPInt
77
+ # transition - SOAP::SOAPInt
78
+ class Env_statusType
79
+ attr_accessor :state
80
+ attr_accessor :transition
81
+
82
+ def initialize(state = nil, transition = nil)
83
+ @state = state
84
+ @transition = transition
85
+ end
86
+ end
87
+
88
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}qosType
89
+ # id - SOAP::SOAPString
90
+ # soft - SOAP::SOAPLong
91
+ # hard - SOAP::SOAPLong
92
+ # cur - SOAP::SOAPLong
93
+ class QosType
94
+ attr_accessor :id
95
+ attr_accessor :soft
96
+ attr_accessor :hard
97
+ attr_accessor :cur
98
+
99
+ def initialize(id = nil, soft = nil, hard = nil, cur = nil)
100
+ @id = id
101
+ @soft = soft
102
+ @hard = hard
103
+ @cur = cur
104
+ end
105
+ end
106
+
107
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_configType
108
+ # name - SOAP::SOAPString
109
+ # description - SOAP::SOAPBase64
110
+ # domain - SOAP::SOAPString
111
+ # hostname - SOAP::SOAPString
112
+ # address - Virtuozzo::SOAP::Types::ResLog::Ip_addressType
113
+ # architecture - SOAP::SOAPString
114
+ # os - Virtuozzo::SOAP::Types::ResLog::OsType
115
+ # type - SOAP::SOAPString
116
+ # nameserver - SOAP::SOAPString
117
+ # search_domain - SOAP::SOAPString
118
+ # base_sample_id - (any)
119
+ # base_snapshot_id - (any)
120
+ # child_type - SOAP::SOAPString
121
+ class Env_configType
122
+ attr_accessor :name
123
+ attr_accessor :description
124
+ attr_accessor :domain
125
+ attr_accessor :hostname
126
+ attr_accessor :address
127
+ attr_accessor :architecture
128
+ attr_accessor :os
129
+ attr_accessor :type
130
+ attr_accessor :nameserver
131
+ attr_accessor :search_domain
132
+ attr_accessor :base_sample_id
133
+ attr_accessor :base_snapshot_id
134
+ attr_accessor :child_type
135
+
136
+ 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 = [])
137
+ @name = name
138
+ @description = description
139
+ @domain = domain
140
+ @hostname = hostname
141
+ @address = address
142
+ @architecture = architecture
143
+ @os = os
144
+ @type = type
145
+ @nameserver = nameserver
146
+ @search_domain = search_domain
147
+ @base_sample_id = base_sample_id
148
+ @base_snapshot_id = base_snapshot_id
149
+ @child_type = child_type
150
+ end
151
+ end
152
+
153
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}venv_configType
154
+ # name - SOAP::SOAPString
155
+ # description - SOAP::SOAPBase64
156
+ # domain - SOAP::SOAPString
157
+ # hostname - SOAP::SOAPString
158
+ # address - Virtuozzo::SOAP::Types::ResLog::Ip_addressType
159
+ # architecture - SOAP::SOAPString
160
+ # os - Virtuozzo::SOAP::Types::ResLog::OsType
161
+ # type - SOAP::SOAPString
162
+ # nameserver - SOAP::SOAPString
163
+ # search_domain - SOAP::SOAPString
164
+ # base_sample_id - (any)
165
+ # base_snapshot_id - (any)
166
+ # child_type - SOAP::SOAPString
167
+ # qos - Virtuozzo::SOAP::Types::ResLog::QosType
168
+ class Venv_configType < Env_configType
169
+ attr_accessor :name
170
+ attr_accessor :description
171
+ attr_accessor :domain
172
+ attr_accessor :hostname
173
+ attr_accessor :address
174
+ attr_accessor :architecture
175
+ attr_accessor :os
176
+ attr_accessor :type
177
+ attr_accessor :nameserver
178
+ attr_accessor :search_domain
179
+ attr_accessor :base_sample_id
180
+ attr_accessor :base_snapshot_id
181
+ attr_accessor :child_type
182
+ attr_accessor :qos
183
+
184
+ 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 = [])
185
+ @name = name
186
+ @description = description
187
+ @domain = domain
188
+ @hostname = hostname
189
+ @address = address
190
+ @architecture = architecture
191
+ @os = os
192
+ @type = type
193
+ @nameserver = nameserver
194
+ @search_domain = search_domain
195
+ @base_sample_id = base_sample_id
196
+ @base_snapshot_id = base_snapshot_id
197
+ @child_type = child_type
198
+ @qos = qos
199
+ end
200
+ end
201
+
202
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}native_configType
203
+ class Native_configType
204
+ def initialize
205
+ end
206
+ end
207
+
208
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}envType
209
+ # parent_eid - (any)
210
+ # eid - (any)
211
+ # status - Virtuozzo::SOAP::Types::ResLog::Env_statusType
212
+ # alert - SOAP::SOAPInt
213
+ # config - Virtuozzo::SOAP::Types::ResLog::Env_configType
214
+ # virtual_config - Virtuozzo::SOAP::Types::ResLog::Venv_configType
215
+ class EnvType
216
+ attr_accessor :parent_eid
217
+ attr_accessor :eid
218
+ attr_accessor :status
219
+ attr_accessor :alert
220
+ attr_accessor :config
221
+ attr_accessor :virtual_config
222
+
223
+ def initialize(parent_eid = nil, eid = nil, status = nil, alert = nil, config = nil, virtual_config = nil)
224
+ @parent_eid = parent_eid
225
+ @eid = eid
226
+ @status = status
227
+ @alert = alert
228
+ @config = config
229
+ @virtual_config = virtual_config
230
+ end
231
+ end
232
+
233
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}processesType
234
+ # run - SOAP::SOAPInt
235
+ # zombie - SOAP::SOAPInt
236
+ # sleep - SOAP::SOAPInt
237
+ # uninterrupt - SOAP::SOAPInt
238
+ # stopped - SOAP::SOAPInt
239
+ # total - SOAP::SOAPInt
240
+ class ProcessesType
241
+ attr_accessor :run
242
+ attr_accessor :zombie
243
+ attr_accessor :sleep
244
+ attr_accessor :uninterrupt
245
+ attr_accessor :stopped
246
+ attr_accessor :total
247
+
248
+ def initialize(run = nil, zombie = nil, sleep = nil, uninterrupt = nil, stopped = nil, total = nil)
249
+ @run = run
250
+ @zombie = zombie
251
+ @sleep = sleep
252
+ @uninterrupt = uninterrupt
253
+ @stopped = stopped
254
+ @total = total
255
+ end
256
+ end
257
+
258
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}load_avgType
259
+ # l1 - SOAP::SOAPDouble
260
+ # l2 - SOAP::SOAPDouble
261
+ # l3 - SOAP::SOAPDouble
262
+ class Load_avgType
263
+ attr_accessor :l1
264
+ attr_accessor :l2
265
+ attr_accessor :l3
266
+
267
+ def initialize(l1 = nil, l2 = nil, l3 = nil)
268
+ @l1 = l1
269
+ @l2 = l2
270
+ @l3 = l3
271
+ end
272
+ end
273
+
274
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}cpu_loadType
275
+ # system - SOAP::SOAPLong
276
+ # user - SOAP::SOAPLong
277
+ # nice - SOAP::SOAPLong
278
+ # idle - SOAP::SOAPLong
279
+ class Cpu_loadType
280
+ attr_accessor :system
281
+ attr_accessor :user
282
+ attr_accessor :nice
283
+ attr_accessor :idle
284
+
285
+ def initialize(system = nil, user = nil, nice = nil, idle = nil)
286
+ @system = system
287
+ @user = user
288
+ @nice = nice
289
+ @idle = idle
290
+ end
291
+ end
292
+
293
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}cpuType
294
+ # mhz - SOAP::SOAPInt
295
+ # name - SOAP::SOAPString
296
+ # number - SOAP::SOAPInt
297
+ # cores - SOAP::SOAPInt
298
+ # hyperthreads - SOAP::SOAPInt
299
+ # units - SOAP::SOAPInt
300
+ # family - SOAP::SOAPString
301
+ # model - SOAP::SOAPString
302
+ # bogomips - SOAP::SOAPInt
303
+ class CpuType
304
+ attr_accessor :mhz
305
+ attr_accessor :name
306
+ attr_accessor :number
307
+ attr_accessor :cores
308
+ attr_accessor :hyperthreads
309
+ attr_accessor :units
310
+ attr_accessor :family
311
+ attr_accessor :model
312
+ attr_accessor :bogomips
313
+
314
+ def initialize(mhz = nil, name = nil, number = nil, cores = nil, hyperthreads = nil, units = nil, family = nil, model = nil, bogomips = nil)
315
+ @mhz = mhz
316
+ @name = name
317
+ @number = number
318
+ @cores = cores
319
+ @hyperthreads = hyperthreads
320
+ @units = units
321
+ @family = family
322
+ @model = model
323
+ @bogomips = bogomips
324
+ end
325
+ end
326
+
327
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}transferType
328
+ # input - Virtuozzo::SOAP::Types::ResLog::TransferType::Input
329
+ # output - Virtuozzo::SOAP::Types::ResLog::TransferType::Output
330
+ class TransferType
331
+
332
+ # inner class for member: input
333
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}input
334
+ # bytes - SOAP::SOAPLong
335
+ # packets - SOAP::SOAPLong
336
+ class Input
337
+ attr_accessor :bytes
338
+ attr_accessor :packets
339
+
340
+ def initialize(bytes = nil, packets = nil)
341
+ @bytes = bytes
342
+ @packets = packets
343
+ end
344
+ end
345
+
346
+ # inner class for member: output
347
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}output
348
+ # bytes - SOAP::SOAPLong
349
+ # packets - SOAP::SOAPLong
350
+ class Output
351
+ attr_accessor :bytes
352
+ attr_accessor :packets
353
+
354
+ def initialize(bytes = nil, packets = nil)
355
+ @bytes = bytes
356
+ @packets = packets
357
+ end
358
+ end
359
+
360
+ attr_accessor :input
361
+ attr_accessor :output
362
+
363
+ def initialize(input = nil, output = nil)
364
+ @input = input
365
+ @output = output
366
+ end
367
+ end
368
+
369
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}system_nodeType
370
+ # address - Virtuozzo::SOAP::Types::ResLog::System_nodeType::Address
371
+ # login - Virtuozzo::SOAP::Types::ResLog::System_nodeType::Login
372
+ class System_nodeType
373
+
374
+ # inner class for member: address
375
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}address
376
+ # ip - (any)
377
+ class Address < Ip_addressType
378
+ attr_accessor :ip
379
+
380
+ def initialize(ip = nil)
381
+ @ip = ip
382
+ end
383
+ end
384
+
385
+ # inner class for member: login
386
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}login
387
+ # user - SOAP::SOAPString
388
+ # password - SOAP::SOAPBase64
389
+ class Login
390
+ attr_accessor :user
391
+ attr_accessor :password
392
+
393
+ def initialize(user = nil, password = nil)
394
+ @user = user
395
+ @password = password
396
+ end
397
+ end
398
+
399
+ attr_accessor :address
400
+ attr_accessor :login
401
+
402
+ def initialize(address = nil, login = nil)
403
+ @address = address
404
+ @login = login
405
+ end
406
+ end
407
+
408
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}resourceType
409
+ # total - SOAP::SOAPLong
410
+ # used - SOAP::SOAPLong
411
+ # free - SOAP::SOAPLong
412
+ # avg - SOAP::SOAPLong
413
+ # min - SOAP::SOAPLong
414
+ # max - SOAP::SOAPLong
415
+ class ResourceType
416
+ attr_accessor :total
417
+ attr_accessor :used
418
+ attr_accessor :free
419
+ attr_accessor :avg
420
+ attr_accessor :min
421
+ attr_accessor :max
422
+
423
+ def initialize(total = nil, used = nil, free = nil, avg = nil, min = nil, max = nil)
424
+ @total = total
425
+ @used = used
426
+ @free = free
427
+ @avg = avg
428
+ @min = min
429
+ @max = max
430
+ end
431
+ end
432
+
433
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}intervalType
434
+ # start_time - (any)
435
+ # end_time - (any)
436
+ class IntervalType
437
+ attr_accessor :start_time
438
+ attr_accessor :end_time
439
+
440
+ def initialize(start_time = nil, end_time = nil)
441
+ @start_time = start_time
442
+ @end_time = end_time
443
+ end
444
+ end
445
+
446
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}statsType
447
+ # avg - SOAP::SOAPLong
448
+ # min - SOAP::SOAPLong
449
+ # max - SOAP::SOAPLong
450
+ # total - SOAP::SOAPLong
451
+ # cur - SOAP::SOAPLong
452
+ # soft - SOAP::SOAPLong
453
+ # hard - SOAP::SOAPLong
454
+ class StatsType
455
+ attr_accessor :avg
456
+ attr_accessor :min
457
+ attr_accessor :max
458
+ attr_accessor :total
459
+ attr_accessor :cur
460
+ attr_accessor :soft
461
+ attr_accessor :hard
462
+
463
+ def initialize(avg = nil, min = nil, max = nil, total = nil, cur = nil, soft = nil, hard = nil)
464
+ @avg = avg
465
+ @min = min
466
+ @max = max
467
+ @total = total
468
+ @cur = cur
469
+ @soft = soft
470
+ @hard = hard
471
+ end
472
+ end
473
+
474
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_addressType
475
+ # host - (any)
476
+ # mask - (any)
477
+ class Net_addressType
478
+ attr_accessor :host
479
+ attr_accessor :mask
480
+
481
+ def initialize(host = nil, mask = nil)
482
+ @host = host
483
+ @mask = mask
484
+ end
485
+ end
486
+
487
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_classType
488
+ # id - SOAP::SOAPString
489
+ # transfer - Virtuozzo::SOAP::Types::ResLog::TransferType
490
+ class Net_classType
491
+ attr_accessor :id
492
+ attr_accessor :transfer
493
+
494
+ def initialize(id = nil, transfer = nil)
495
+ @id = id
496
+ @transfer = transfer
497
+ end
498
+ end
499
+
500
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_rangeType
501
+ # id - SOAP::SOAPString
502
+ # start_ip - (any)
503
+ # subnet_mask - SOAP::SOAPInt
504
+ # comment - SOAP::SOAPString
505
+ class Ip_rangeType
506
+ attr_accessor :id
507
+ attr_accessor :start_ip
508
+ attr_accessor :subnet_mask
509
+ attr_accessor :comment
510
+
511
+ def initialize(id = nil, start_ip = nil, subnet_mask = nil, comment = nil)
512
+ @id = id
513
+ @start_ip = start_ip
514
+ @subnet_mask = subnet_mask
515
+ @comment = comment
516
+ end
517
+ end
518
+
519
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}sample_confType
520
+ # env_config - Virtuozzo::SOAP::Types::ResLog::Env_configType
521
+ # id - SOAP::SOAPString
522
+ # name - SOAP::SOAPString
523
+ # comment - SOAP::SOAPBase64
524
+ # vt_version - Virtuozzo::SOAP::Types::ResLog::Sample_confType::Vt_version
525
+ class Sample_confType
526
+
527
+ # inner class for member: vt_version
528
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vt_version
529
+ # platform - SOAP::SOAPString
530
+ # architecture - SOAP::SOAPString
531
+ # vt_technology - SOAP::SOAPString
532
+ class Vt_version
533
+ attr_accessor :platform
534
+ attr_accessor :architecture
535
+ attr_accessor :vt_technology
536
+
537
+ def initialize(platform = nil, architecture = nil, vt_technology = nil)
538
+ @platform = platform
539
+ @architecture = architecture
540
+ @vt_technology = vt_technology
541
+ end
542
+ end
543
+
544
+ attr_accessor :env_config
545
+ attr_accessor :id
546
+ attr_accessor :name
547
+ attr_accessor :comment
548
+ attr_accessor :vt_version
549
+
550
+ def initialize(env_config = nil, id = nil, name = nil, comment = nil, vt_version = nil)
551
+ @env_config = env_config
552
+ @id = id
553
+ @name = name
554
+ @comment = comment
555
+ @vt_version = vt_version
556
+ end
557
+ end
558
+
559
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}interfaceType
560
+ # name - SOAP::SOAPString
561
+ # bandwidth - SOAP::SOAPInt
562
+ # transfer - Virtuozzo::SOAP::Types::ResLog::TransferType
563
+ # ipaddress - (any)
564
+ # flags - SOAP::SOAPInt
565
+ class InterfaceType
566
+ attr_accessor :name
567
+ attr_accessor :bandwidth
568
+ attr_accessor :transfer
569
+ attr_accessor :ipaddress
570
+ attr_accessor :flags
571
+
572
+ def initialize(name = nil, bandwidth = nil, transfer = nil, ipaddress = nil, flags = nil)
573
+ @name = name
574
+ @bandwidth = bandwidth
575
+ @transfer = transfer
576
+ @ipaddress = ipaddress
577
+ @flags = flags
578
+ end
579
+ end
580
+
581
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}sys_infoType
582
+ # load_avg - Virtuozzo::SOAP::Types::ResLog::Load_avgType
583
+ # processes - Virtuozzo::SOAP::Types::ResLog::ProcessesType
584
+ # cpu_load - Virtuozzo::SOAP::Types::ResLog::Cpu_loadType
585
+ # cpu_states - Virtuozzo::SOAP::Types::ResLog::Cpu_loadType
586
+ # users - SOAP::SOAPInt
587
+ # uptime - SOAP::SOAPLong
588
+ # memory - Virtuozzo::SOAP::Types::ResLog::Sys_infoType::Memory
589
+ # swap - Virtuozzo::SOAP::Types::ResLog::Sys_infoType::Swap
590
+ class Sys_infoType
591
+
592
+ # inner class for member: memory
593
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}memory
594
+ # total - SOAP::SOAPLong
595
+ # used - SOAP::SOAPLong
596
+ class Memory < ResourceType
597
+ attr_accessor :total
598
+ attr_accessor :used
599
+
600
+ def initialize(total = nil, used = nil)
601
+ @total = total
602
+ @used = used
603
+ end
604
+ end
605
+
606
+ # inner class for member: swap
607
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}swap
608
+ # total - SOAP::SOAPLong
609
+ # used - SOAP::SOAPLong
610
+ class Swap < ResourceType
611
+ attr_accessor :total
612
+ attr_accessor :used
613
+
614
+ def initialize(total = nil, used = nil)
615
+ @total = total
616
+ @used = used
617
+ end
618
+ end
619
+
620
+ attr_accessor :load_avg
621
+ attr_accessor :processes
622
+ attr_accessor :cpu_load
623
+ attr_accessor :cpu_states
624
+ attr_accessor :users
625
+ attr_accessor :uptime
626
+ attr_accessor :memory
627
+ attr_accessor :swap
628
+
629
+ def initialize(load_avg = nil, processes = nil, cpu_load = nil, cpu_states = nil, users = nil, uptime = nil, memory = nil, swap = nil)
630
+ @load_avg = load_avg
631
+ @processes = processes
632
+ @cpu_load = cpu_load
633
+ @cpu_states = cpu_states
634
+ @users = users
635
+ @uptime = uptime
636
+ @memory = memory
637
+ @swap = swap
638
+ end
639
+ end
640
+
641
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ps_infoType
642
+ # process - Virtuozzo::SOAP::Types::ResLog::Ps_infoType::C_Process
643
+ # param_id - SOAP::SOAPString
644
+ # run - SOAP::SOAPInt
645
+ # idle - SOAP::SOAPInt
646
+ # zombie - SOAP::SOAPInt
647
+ # sleep - SOAP::SOAPInt
648
+ # uninterrupt - SOAP::SOAPInt
649
+ # stopped - SOAP::SOAPInt
650
+ # total - SOAP::SOAPInt
651
+ class Ps_infoType
652
+
653
+ # inner class for member: process
654
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}process
655
+ # pid - SOAP::SOAPInt
656
+ # param - SOAP::SOAPBase64
657
+ class C_Process
658
+ attr_accessor :pid
659
+ attr_accessor :param
660
+
661
+ def initialize(pid = nil, param = [])
662
+ @pid = pid
663
+ @param = param
664
+ end
665
+ end
666
+
667
+ attr_accessor :process
668
+ attr_accessor :param_id
669
+ attr_accessor :run
670
+ attr_accessor :idle
671
+ attr_accessor :zombie
672
+ attr_accessor :sleep
673
+ attr_accessor :uninterrupt
674
+ attr_accessor :stopped
675
+ attr_accessor :total
676
+
677
+ def initialize(process = [], param_id = [], run = nil, idle = nil, zombie = nil, sleep = nil, uninterrupt = nil, stopped = nil, total = nil)
678
+ @process = process
679
+ @param_id = param_id
680
+ @run = run
681
+ @idle = idle
682
+ @zombie = zombie
683
+ @sleep = sleep
684
+ @uninterrupt = uninterrupt
685
+ @stopped = stopped
686
+ @total = total
687
+ end
688
+ end
689
+
690
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}load_avg_statsType
691
+ # l1 - Virtuozzo::SOAP::Types::ResLog::Load_avg_statsType::L1
692
+ # l2 - Virtuozzo::SOAP::Types::ResLog::Load_avg_statsType::L2
693
+ # l3 - Virtuozzo::SOAP::Types::ResLog::Load_avg_statsType::L3
694
+ class Load_avg_statsType
695
+
696
+ # inner class for member: l1
697
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}l1
698
+ # avg - SOAP::SOAPLong
699
+ # min - SOAP::SOAPLong
700
+ # max - SOAP::SOAPLong
701
+ # cur - SOAP::SOAPLong
702
+ class L1 < StatsType
703
+ attr_accessor :avg
704
+ attr_accessor :min
705
+ attr_accessor :max
706
+ attr_accessor :cur
707
+
708
+ def initialize(avg = nil, min = nil, max = nil, cur = nil)
709
+ @avg = avg
710
+ @min = min
711
+ @max = max
712
+ @cur = cur
713
+ end
714
+ end
715
+
716
+ # inner class for member: l2
717
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}l2
718
+ # avg - SOAP::SOAPLong
719
+ # min - SOAP::SOAPLong
720
+ # max - SOAP::SOAPLong
721
+ # cur - SOAP::SOAPLong
722
+ class L2 < StatsType
723
+ attr_accessor :avg
724
+ attr_accessor :min
725
+ attr_accessor :max
726
+ attr_accessor :cur
727
+
728
+ def initialize(avg = nil, min = nil, max = nil, cur = nil)
729
+ @avg = avg
730
+ @min = min
731
+ @max = max
732
+ @cur = cur
733
+ end
734
+ end
735
+
736
+ # inner class for member: l3
737
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}l3
738
+ # avg - SOAP::SOAPLong
739
+ # min - SOAP::SOAPLong
740
+ # max - SOAP::SOAPLong
741
+ # cur - SOAP::SOAPLong
742
+ class L3 < StatsType
743
+ attr_accessor :avg
744
+ attr_accessor :min
745
+ attr_accessor :max
746
+ attr_accessor :cur
747
+
748
+ def initialize(avg = nil, min = nil, max = nil, cur = nil)
749
+ @avg = avg
750
+ @min = min
751
+ @max = max
752
+ @cur = cur
753
+ end
754
+ end
755
+
756
+ attr_accessor :l1
757
+ attr_accessor :l2
758
+ attr_accessor :l3
759
+
760
+ def initialize(l1 = nil, l2 = nil, l3 = nil)
761
+ @l1 = l1
762
+ @l2 = l2
763
+ @l3 = l3
764
+ end
765
+ end
766
+
767
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_addressType
768
+ # ip - (any)
769
+ # netmask - (any)
770
+ class Ip_addressType
771
+ attr_accessor :ip
772
+ attr_accessor :netmask
773
+
774
+ def initialize(ip = nil, netmask = nil)
775
+ @ip = ip
776
+ @netmask = netmask
777
+ end
778
+ end
779
+
780
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_resourceType
781
+ # eid - (any)
782
+ # ip_pool - Virtuozzo::SOAP::Types::ResLog::Ip_poolType
783
+ class Env_resourceType
784
+ attr_accessor :eid
785
+ attr_accessor :ip_pool
786
+
787
+ def initialize(eid = nil, ip_pool = nil)
788
+ @eid = eid
789
+ @ip_pool = ip_pool
790
+ end
791
+ end
792
+
793
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_poolType
794
+ # ip_range - Virtuozzo::SOAP::Types::ResLog::Ip_poolType::Ip_range
795
+ # ip - (any)
796
+ class Ip_poolType
797
+
798
+ # inner class for member: ip_range
799
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_range
800
+ # start_ip - (any)
801
+ # end_ip - (any)
802
+ class Ip_range
803
+ attr_accessor :start_ip
804
+ attr_accessor :end_ip
805
+
806
+ def initialize(start_ip = nil, end_ip = nil)
807
+ @start_ip = start_ip
808
+ @end_ip = end_ip
809
+ end
810
+ end
811
+
812
+ attr_accessor :ip_range
813
+ attr_accessor :ip
814
+
815
+ def initialize(ip_range = [], ip = [])
816
+ @ip_range = ip_range
817
+ @ip = ip
818
+ end
819
+ end
820
+
821
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}usageType
822
+ # total - SOAP::SOAPLong
823
+ # used - SOAP::SOAPLong
824
+ # free - SOAP::SOAPLong
825
+ class UsageType
826
+ attr_accessor :total
827
+ attr_accessor :used
828
+ attr_accessor :free
829
+
830
+ def initialize(total = nil, used = nil, free = nil)
831
+ @total = total
832
+ @used = used
833
+ @free = free
834
+ end
835
+ end
836
+
837
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}credentialType
838
+ # id - SOAP::SOAPString
839
+ # policy - SOAP::SOAPInt
840
+ # description - SOAP::SOAPBase64
841
+ # cred - Virtuozzo::SOAP::Types::ResLog::CredentialType
842
+ class CredentialType
843
+ attr_accessor :id
844
+ attr_accessor :policy
845
+ attr_accessor :description
846
+ attr_accessor :cred
847
+
848
+ def initialize(id = nil, policy = nil, description = nil, cred = [])
849
+ @id = id
850
+ @policy = policy
851
+ @description = description
852
+ @cred = cred
853
+ end
854
+ end
855
+
856
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}root_credentialType
857
+ # id - SOAP::SOAPString
858
+ # policy - SOAP::SOAPInt
859
+ # description - SOAP::SOAPBase64
860
+ # cred - Virtuozzo::SOAP::Types::ResLog::CredentialType
861
+ # objects - Virtuozzo::SOAP::Types::ResLog::Root_credentialType::Objects
862
+ class Root_credentialType < CredentialType
863
+
864
+ # inner class for member: objects
865
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}objects
866
+ class Objects < ::Array
867
+ end
868
+
869
+ attr_accessor :id
870
+ attr_accessor :policy
871
+ attr_accessor :description
872
+ attr_accessor :cred
873
+ attr_accessor :objects
874
+
875
+ def initialize(id = nil, policy = nil, description = nil, cred = [], objects = nil)
876
+ @id = id
877
+ @policy = policy
878
+ @description = description
879
+ @cred = cred
880
+ @objects = objects
881
+ end
882
+ end
883
+
884
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}tokenType
885
+ # user - (any)
886
+ # groups - Virtuozzo::SOAP::Types::ResLog::TokenType::Groups
887
+ # deny_only_sids - Virtuozzo::SOAP::Types::ResLog::TokenType::Deny_only_sids
888
+ # privileges - Virtuozzo::SOAP::Types::ResLog::TokenType::Privileges
889
+ # source - Virtuozzo::SOAP::Types::ResLog::TokenType::Source
890
+ class TokenType
891
+
892
+ # inner class for member: groups
893
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}groups
894
+ class Groups < ::Array
895
+ end
896
+
897
+ # inner class for member: deny_only_sids
898
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}deny_only_sids
899
+ class Deny_only_sids < ::Array
900
+ end
901
+
902
+ # inner class for member: privileges
903
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}privileges
904
+ class Privileges < ::Array
905
+ end
906
+
907
+ # inner class for member: source
908
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}source
909
+ # name - SOAP::SOAPString
910
+ # id - (any)
911
+ class Source
912
+ attr_accessor :name
913
+ attr_accessor :id
914
+
915
+ def initialize(name = nil, id = nil)
916
+ @name = name
917
+ @id = id
918
+ end
919
+ end
920
+
921
+ attr_accessor :user
922
+ attr_accessor :groups
923
+ attr_accessor :deny_only_sids
924
+ attr_accessor :privileges
925
+ attr_accessor :source
926
+
927
+ def initialize(user = nil, groups = nil, deny_only_sids = nil, privileges = nil, source = nil)
928
+ @user = user
929
+ @groups = groups
930
+ @deny_only_sids = deny_only_sids
931
+ @privileges = privileges
932
+ @source = source
933
+ end
934
+ end
935
+
936
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}connectivity_infoType
937
+ # protocol - SOAP::SOAPString
938
+ # address - SOAP::SOAPString
939
+ # port - SOAP::SOAPUnsignedInt
940
+ class Connectivity_infoType
941
+ attr_accessor :protocol
942
+ attr_accessor :address
943
+ attr_accessor :port
944
+
945
+ def initialize(protocol = nil, address = nil, port = nil)
946
+ @protocol = protocol
947
+ @address = address
948
+ @port = port
949
+ end
950
+ end
951
+
952
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}connection_infoType
953
+ # protocol - SOAP::SOAPString
954
+ # address - SOAP::SOAPString
955
+ # port - SOAP::SOAPUnsignedInt
956
+ # login - Virtuozzo::SOAP::Types::ResLog::Auth_nameType
957
+ # password - SOAP::SOAPBase64
958
+ class Connection_infoType < Connectivity_infoType
959
+ attr_accessor :protocol
960
+ attr_accessor :address
961
+ attr_accessor :port
962
+ attr_accessor :login
963
+ attr_accessor :password
964
+
965
+ def initialize(protocol = nil, address = nil, port = nil, login = nil, password = nil)
966
+ @protocol = protocol
967
+ @address = address
968
+ @port = port
969
+ @login = login
970
+ @password = password
971
+ end
972
+ end
973
+
974
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}auth_nameType
975
+ # name - SOAP::SOAPBase64
976
+ # domain - SOAP::SOAPBase64
977
+ # realm - (any)
978
+ class Auth_nameType
979
+ attr_accessor :name
980
+ attr_accessor :domain
981
+ attr_accessor :realm
982
+
983
+ def initialize(name = nil, domain = nil, realm = nil)
984
+ @name = name
985
+ @domain = domain
986
+ @realm = realm
987
+ end
988
+ end
989
+
990
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}eid_listType
991
+ class Eid_listType < ::Array
992
+ end
993
+
994
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vt_infoType
995
+ class Vt_infoType
996
+ attr_reader :__xmlele_any
997
+
998
+ def set_any(elements)
999
+ @__xmlele_any = elements
1000
+ end
1001
+
1002
+ def initialize
1003
+ @__xmlele_any = nil
1004
+ end
1005
+ end
1006
+
1007
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vt_settingsType
1008
+ # default_sample_id - (any)
1009
+ class Vt_settingsType
1010
+ attr_accessor :default_sample_id
1011
+
1012
+ def initialize(default_sample_id = nil)
1013
+ @default_sample_id = default_sample_id
1014
+ end
1015
+ end
1016
+
1017
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}userType
1018
+ # initial_group - Virtuozzo::SOAP::Types::ResLog::UserType::Initial_group
1019
+ # group - Virtuozzo::SOAP::Types::ResLog::UserType::Group
1020
+ # uid - SOAP::SOAPInt
1021
+ # shell - SOAP::SOAPString
1022
+ # password - SOAP::SOAPBase64
1023
+ # home_dir - SOAP::SOAPString
1024
+ # name - SOAP::SOAPString
1025
+ # comment - SOAP::SOAPString
1026
+ class UserType
1027
+
1028
+ # inner class for member: initial_group
1029
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}initial_group
1030
+ # name - SOAP::SOAPString
1031
+ # gid - SOAP::SOAPInt
1032
+ class Initial_group < GroupType
1033
+ attr_accessor :name
1034
+ attr_accessor :gid
1035
+
1036
+ def initialize(name = nil, gid = nil)
1037
+ @name = name
1038
+ @gid = gid
1039
+ end
1040
+ end
1041
+
1042
+ # inner class for member: group
1043
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}group
1044
+ # name - SOAP::SOAPString
1045
+ # gid - SOAP::SOAPInt
1046
+ class Group < GroupType
1047
+ attr_accessor :name
1048
+ attr_accessor :gid
1049
+
1050
+ def initialize(name = nil, gid = nil)
1051
+ @name = name
1052
+ @gid = gid
1053
+ end
1054
+ end
1055
+
1056
+ attr_accessor :initial_group
1057
+ attr_accessor :group
1058
+ attr_accessor :uid
1059
+ attr_accessor :shell
1060
+ attr_accessor :password
1061
+ attr_accessor :home_dir
1062
+ attr_accessor :name
1063
+ attr_accessor :comment
1064
+
1065
+ def initialize(initial_group = nil, group = [], uid = nil, shell = nil, password = nil, home_dir = nil, name = nil, comment = nil)
1066
+ @initial_group = initial_group
1067
+ @group = group
1068
+ @uid = uid
1069
+ @shell = shell
1070
+ @password = password
1071
+ @home_dir = home_dir
1072
+ @name = name
1073
+ @comment = comment
1074
+ end
1075
+ end
1076
+
1077
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}groupType
1078
+ # user - Virtuozzo::SOAP::Types::ResLog::GroupType::User
1079
+ # member_group - Virtuozzo::SOAP::Types::ResLog::GroupType::Member_group
1080
+ # name - SOAP::SOAPString
1081
+ # gid - SOAP::SOAPInt
1082
+ class GroupType
1083
+
1084
+ # inner class for member: user
1085
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}user
1086
+ # name - SOAP::SOAPString
1087
+ class User < UserType
1088
+ attr_accessor :name
1089
+
1090
+ def initialize(name = nil)
1091
+ @name = name
1092
+ end
1093
+ end
1094
+
1095
+ # inner class for member: member_group
1096
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}member_group
1097
+ # name - SOAP::SOAPString
1098
+ class Member_group < GroupType
1099
+ attr_accessor :name
1100
+
1101
+ def initialize(name = nil)
1102
+ @name = name
1103
+ end
1104
+ end
1105
+
1106
+ attr_accessor :user
1107
+ attr_accessor :member_group
1108
+ attr_accessor :name
1109
+ attr_accessor :gid
1110
+
1111
+ def initialize(user = [], member_group = [], name = nil, gid = nil)
1112
+ @user = user
1113
+ @member_group = member_group
1114
+ @name = name
1115
+ @gid = gid
1116
+ end
1117
+ end
1118
+
1119
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}packageType
1120
+ # name - SOAP::SOAPString
1121
+ # summary - SOAP::SOAPString
1122
+ # os - Virtuozzo::SOAP::Types::ResLog::OsType
1123
+ # description - SOAP::SOAPString
1124
+ # arch - SOAP::SOAPString
1125
+ # version - SOAP::SOAPString
1126
+ class PackageType
1127
+ attr_accessor :name
1128
+ attr_accessor :summary
1129
+ attr_accessor :os
1130
+ attr_accessor :description
1131
+ attr_accessor :arch
1132
+ attr_accessor :version
1133
+
1134
+ def initialize(name = nil, summary = nil, os = nil, description = nil, arch = nil, version = nil)
1135
+ @name = name
1136
+ @summary = summary
1137
+ @os = os
1138
+ @description = description
1139
+ @arch = arch
1140
+ @version = version
1141
+ end
1142
+ end
1143
+
1144
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}event_dataType
1145
+ class Event_dataType
1146
+ def initialize
1147
+ end
1148
+ end
1149
+
1150
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}alert_dataType
1151
+ # type - SOAP::SOAPInt
1152
+ class Alert_dataType < Event_dataType
1153
+ attr_accessor :type
1154
+
1155
+ def initialize(type = nil)
1156
+ @type = type
1157
+ end
1158
+ end
1159
+
1160
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}named_listType
1161
+ # name - SOAP::SOAPString
1162
+ # value - SOAP::SOAPBase64
1163
+ class Named_listType
1164
+ attr_accessor :name
1165
+ attr_accessor :value
1166
+
1167
+ def initialize(name = nil, value = [])
1168
+ @name = name
1169
+ @value = value
1170
+ end
1171
+ end
1172
+
1173
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}modType
1174
+ # name - SOAP::SOAPString
1175
+ # value - SOAP::SOAPBase64
1176
+ # op - SOAP::SOAPInt
1177
+ class ModType < Named_listType
1178
+ attr_accessor :name
1179
+ attr_accessor :value
1180
+ attr_accessor :op
1181
+
1182
+ def initialize(name = nil, value = [], op = nil)
1183
+ @name = name
1184
+ @value = value
1185
+ @op = op
1186
+ end
1187
+ end
1188
+
1189
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}realmType
1190
+ # id - (any)
1191
+ # type - SOAP::SOAPInt
1192
+ # name - SOAP::SOAPString
1193
+ # builtin - (any)
1194
+ class RealmType
1195
+ attr_accessor :id
1196
+ attr_accessor :type
1197
+ attr_accessor :name
1198
+ attr_accessor :builtin
1199
+
1200
+ def initialize(id = nil, type = nil, name = nil, builtin = nil)
1201
+ @id = id
1202
+ @type = type
1203
+ @name = name
1204
+ @builtin = builtin
1205
+ end
1206
+ end
1207
+
1208
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}eventType
1209
+ # eid - (any)
1210
+ # time - (any)
1211
+ # source - SOAP::SOAPString
1212
+ # category - SOAP::SOAPString
1213
+ # sid - (any)
1214
+ # count - SOAP::SOAPInt
1215
+ # id - (any)
1216
+ # info - Virtuozzo::SOAP::Types::ResLog::InfoType
1217
+ # data - Virtuozzo::SOAP::Types::ResLog::EventType::C_Data
1218
+ class EventType
1219
+
1220
+ # inner class for member: data
1221
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}data
1222
+ # event_data - Virtuozzo::SOAP::Types::ResLog::Event_dataType
1223
+ class C_Data
1224
+ attr_accessor :event_data
1225
+
1226
+ def initialize(event_data = nil)
1227
+ @event_data = event_data
1228
+ end
1229
+ end
1230
+
1231
+ attr_accessor :eid
1232
+ attr_accessor :time
1233
+ attr_accessor :source
1234
+ attr_accessor :category
1235
+ attr_accessor :sid
1236
+ attr_accessor :count
1237
+ attr_accessor :id
1238
+ attr_accessor :info
1239
+ attr_accessor :data
1240
+
1241
+ def initialize(eid = nil, time = nil, source = nil, category = nil, sid = nil, count = nil, id = nil, info = nil, data = nil)
1242
+ @eid = eid
1243
+ @time = time
1244
+ @source = source
1245
+ @category = category
1246
+ @sid = sid
1247
+ @count = count
1248
+ @id = id
1249
+ @info = info
1250
+ @data = data
1251
+ end
1252
+ end
1253
+
1254
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}infoType
1255
+ # message - SOAP::SOAPBase64
1256
+ # translate - (any)
1257
+ # parameter - Virtuozzo::SOAP::Types::ResLog::InfoType
1258
+ # name - SOAP::SOAPString
1259
+ class InfoType
1260
+ attr_accessor :message
1261
+ attr_accessor :translate
1262
+ attr_accessor :parameter
1263
+ attr_accessor :name
1264
+
1265
+ def initialize(message = nil, translate = nil, parameter = [], name = nil)
1266
+ @message = message
1267
+ @translate = translate
1268
+ @parameter = parameter
1269
+ @name = name
1270
+ end
1271
+ end
1272
+
1273
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}aceType
1274
+ # type - SOAP::SOAPInt
1275
+ # sid - (any)
1276
+ # rights - SOAP::SOAPBase64
1277
+ class AceType
1278
+ attr_accessor :type
1279
+ attr_accessor :sid
1280
+ attr_accessor :rights
1281
+
1282
+ def initialize(type = nil, sid = nil, rights = nil)
1283
+ @type = type
1284
+ @sid = sid
1285
+ @rights = rights
1286
+ end
1287
+ end
1288
+
1289
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}security_descriptorType
1290
+ # owner - (any)
1291
+ # group - (any)
1292
+ # dacl - Virtuozzo::SOAP::Types::ResLog::Security_descriptorType::Dacl
1293
+ class Security_descriptorType
1294
+
1295
+ # inner class for member: dacl
1296
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}dacl
1297
+ class Dacl < ::Array
1298
+ end
1299
+
1300
+ attr_accessor :owner
1301
+ attr_accessor :group
1302
+ attr_accessor :dacl
1303
+
1304
+ def initialize(owner = nil, group = nil, dacl = nil)
1305
+ @owner = owner
1306
+ @group = group
1307
+ @dacl = dacl
1308
+ end
1309
+ end
1310
+
1311
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}security_objectType
1312
+ # abstract
1313
+ class Security_objectType
1314
+ def initialize
1315
+ end
1316
+ end
1317
+
1318
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_security_objectType
1319
+ # eid - (any)
1320
+ class Env_security_objectType < Security_objectType
1321
+ attr_accessor :eid
1322
+
1323
+ def initialize(eid = nil)
1324
+ @eid = eid
1325
+ end
1326
+ end
1327
+
1328
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_deviceType
1329
+ # id - SOAP::SOAPString
1330
+ # ip_address - Virtuozzo::SOAP::Types::ResLog::Ip_addressType
1331
+ # dhcp - (any)
1332
+ # network_id - SOAP::SOAPBase64
1333
+ # status - Virtuozzo::SOAP::Types::ResLog::Net_deviceType::Status
1334
+ class Net_deviceType
1335
+
1336
+ # inner class for member: status
1337
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
1338
+ # up - (any)
1339
+ # down - (any)
1340
+ class Status
1341
+ attr_accessor :up
1342
+ attr_accessor :down
1343
+
1344
+ def initialize(up = nil, down = nil)
1345
+ @up = up
1346
+ @down = down
1347
+ end
1348
+ end
1349
+
1350
+ attr_accessor :id
1351
+ attr_accessor :ip_address
1352
+ attr_accessor :dhcp
1353
+ attr_accessor :network_id
1354
+ attr_accessor :status
1355
+
1356
+ def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil)
1357
+ @id = id
1358
+ @ip_address = ip_address
1359
+ @dhcp = dhcp
1360
+ @network_id = network_id
1361
+ @status = status
1362
+ end
1363
+ end
1364
+
1365
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_nicType
1366
+ # id - SOAP::SOAPString
1367
+ # ip_address - Virtuozzo::SOAP::Types::ResLog::Ip_addressType
1368
+ # dhcp - (any)
1369
+ # network_id - SOAP::SOAPBase64
1370
+ # status - Virtuozzo::SOAP::Types::ResLog::Net_nicType::Status
1371
+ # mac_address - SOAP::SOAPString
1372
+ class Net_nicType < Net_deviceType
1373
+
1374
+ # inner class for member: status
1375
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
1376
+ # up - (any)
1377
+ # down - (any)
1378
+ class Status
1379
+ attr_accessor :up
1380
+ attr_accessor :down
1381
+
1382
+ def initialize(up = nil, down = nil)
1383
+ @up = up
1384
+ @down = down
1385
+ end
1386
+ end
1387
+
1388
+ attr_accessor :id
1389
+ attr_accessor :ip_address
1390
+ attr_accessor :dhcp
1391
+ attr_accessor :network_id
1392
+ attr_accessor :status
1393
+ attr_accessor :mac_address
1394
+
1395
+ def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil, mac_address = nil)
1396
+ @id = id
1397
+ @ip_address = ip_address
1398
+ @dhcp = dhcp
1399
+ @network_id = network_id
1400
+ @status = status
1401
+ @mac_address = mac_address
1402
+ end
1403
+ end
1404
+
1405
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}voc_parameterType
1406
+ # id - SOAP::SOAPString
1407
+ # type - SOAP::SOAPString
1408
+ # min - SOAP::SOAPString
1409
+ # max - SOAP::SOAPString
1410
+ # long - SOAP::SOAPString
1411
+ # short - SOAP::SOAPString
1412
+ # category - SOAP::SOAPString
1413
+ # complex - SOAP::SOAPString
1414
+ # default - SOAP::SOAPString
1415
+ # measure - SOAP::SOAPString
1416
+ # data - (any)
1417
+ # name - (any)
1418
+ class Voc_parameterType
1419
+ attr_accessor :id
1420
+ attr_accessor :type
1421
+ attr_accessor :min
1422
+ attr_accessor :max
1423
+ attr_accessor :long
1424
+ attr_accessor :short
1425
+ attr_accessor :category
1426
+ attr_accessor :complex
1427
+ attr_accessor :default
1428
+ attr_accessor :measure
1429
+ attr_accessor :data
1430
+ attr_accessor :name
1431
+
1432
+ 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)
1433
+ @id = id
1434
+ @type = type
1435
+ @min = min
1436
+ @max = max
1437
+ @long = long
1438
+ @short = short
1439
+ @category = category
1440
+ @complex = complex
1441
+ @default = default
1442
+ @measure = measure
1443
+ @data = data
1444
+ @name = name
1445
+ end
1446
+ end
1447
+
1448
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vocabularyType
1449
+ # name - SOAP::SOAPString
1450
+ # parameter - Virtuozzo::SOAP::Types::ResLog::Voc_parameterType
1451
+ # category - Virtuozzo::SOAP::Types::ResLog::Voc_parameterType
1452
+ class VocabularyType
1453
+ attr_accessor :name
1454
+ attr_accessor :parameter
1455
+ attr_accessor :category
1456
+
1457
+ def initialize(name = nil, parameter = [], category = [])
1458
+ @name = name
1459
+ @parameter = parameter
1460
+ @category = category
1461
+ end
1462
+ end
1463
+
1464
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}perf_statType
1465
+ # cur - SOAP::SOAPAnySimpleType
1466
+ # avg - SOAP::SOAPAnySimpleType
1467
+ # max - SOAP::SOAPAnySimpleType
1468
+ # min - SOAP::SOAPAnySimpleType
1469
+ class Perf_statType
1470
+ attr_accessor :cur
1471
+ attr_accessor :avg
1472
+ attr_accessor :max
1473
+ attr_accessor :min
1474
+
1475
+ def initialize(cur = nil, avg = nil, max = nil, min = nil)
1476
+ @cur = cur
1477
+ @avg = avg
1478
+ @max = max
1479
+ @min = min
1480
+ end
1481
+ end
1482
+
1483
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}perf_dataType
1484
+ # eid - (any)
1485
+ # m_class - Virtuozzo::SOAP::Types::ResLog::Perf_dataType::C_Class
1486
+ # interval - Virtuozzo::SOAP::Types::ResLog::IntervalType
1487
+ class Perf_dataType
1488
+
1489
+ # inner class for member: class
1490
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}class
1491
+ # name - SOAP::SOAPString
1492
+ # instance - Virtuozzo::SOAP::Types::ResLog::Perf_dataType::C_Class::Instance
1493
+ class C_Class
1494
+
1495
+ # inner class for member: instance
1496
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}instance
1497
+ # name - SOAP::SOAPString
1498
+ # counter - Virtuozzo::SOAP::Types::ResLog::Perf_dataType::C_Class::Instance::Counter
1499
+ class Instance
1500
+
1501
+ # inner class for member: counter
1502
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}counter
1503
+ # name - SOAP::SOAPString
1504
+ # value - Virtuozzo::SOAP::Types::ResLog::Perf_statType
1505
+ class Counter
1506
+ attr_accessor :name
1507
+ attr_accessor :value
1508
+
1509
+ def initialize(name = nil, value = nil)
1510
+ @name = name
1511
+ @value = value
1512
+ end
1513
+ end
1514
+
1515
+ attr_accessor :name
1516
+ attr_accessor :counter
1517
+
1518
+ def initialize(name = nil, counter = [])
1519
+ @name = name
1520
+ @counter = counter
1521
+ end
1522
+ end
1523
+
1524
+ attr_accessor :name
1525
+ attr_accessor :instance
1526
+
1527
+ def initialize(name = nil, instance = [])
1528
+ @name = name
1529
+ @instance = instance
1530
+ end
1531
+ end
1532
+
1533
+ attr_accessor :eid
1534
+ attr_accessor :interval
1535
+
1536
+ def m_class
1537
+ @v_class
1538
+ end
1539
+
1540
+ def m_class=(value)
1541
+ @v_class = value
1542
+ end
1543
+
1544
+ def initialize(eid = nil, v_class = [], interval = nil)
1545
+ @eid = eid
1546
+ @v_class = v_class
1547
+ @interval = interval
1548
+ end
1549
+ end
1550
+
1551
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}log_options_baseType
1552
+ class Log_options_baseType
1553
+ def initialize
1554
+ end
1555
+ end
1556
+
1557
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}log_optionsType
1558
+ class Log_optionsType < Log_options_baseType
1559
+ def initialize
1560
+ end
1561
+ end
1562
+
1563
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}packet_headerType
1564
+ # auth - Virtuozzo::SOAP::Types::ResLog::AuthType
1565
+ # cookie - SOAP::SOAPString
1566
+ # target - SOAP::SOAPString
1567
+ # origin - SOAP::SOAPString
1568
+ # src - Virtuozzo::SOAP::Types::ResLog::RouteType
1569
+ # dst - Virtuozzo::SOAP::Types::ResLog::RouteType
1570
+ # session - SOAP::SOAPString
1571
+ # xmlattr_version - SOAP::SOAPString
1572
+ # xmlattr_id - SOAP::SOAPString
1573
+ # xmlattr_priority - SOAP::SOAPString
1574
+ # xmlattr_time - SOAP::SOAPString
1575
+ # xmlattr_progress - SOAP::SOAPString
1576
+ # xmlattr_log - SOAP::SOAPString
1577
+ # xmlattr_type - SOAP::SOAPInt
1578
+ # xmlattr_timeout - SOAP::SOAPInt
1579
+ # xmlattr_timeout_limit - SOAP::SOAPInt
1580
+ # xmlattr_uid - SOAP::SOAPInt
1581
+ class Packet_headerType
1582
+ AttrC_Time = XSD::QName.new(nil, "time")
1583
+ AttrId = XSD::QName.new(nil, "id")
1584
+ AttrLog = XSD::QName.new(nil, "log")
1585
+ AttrPriority = XSD::QName.new(nil, "priority")
1586
+ AttrProgress = XSD::QName.new(nil, "progress")
1587
+ AttrTimeout = XSD::QName.new(nil, "timeout")
1588
+ AttrTimeout_limit = XSD::QName.new(nil, "timeout_limit")
1589
+ AttrType = XSD::QName.new(nil, "type")
1590
+ AttrUid = XSD::QName.new(nil, "uid")
1591
+ AttrVersion = XSD::QName.new(nil, "version")
1592
+
1593
+ attr_accessor :auth
1594
+ attr_accessor :cookie
1595
+ attr_accessor :target
1596
+ attr_accessor :origin
1597
+ attr_accessor :src
1598
+ attr_accessor :dst
1599
+ attr_accessor :session
1600
+
1601
+ def __xmlattr
1602
+ @__xmlattr ||= {}
1603
+ end
1604
+
1605
+ def xmlattr_version
1606
+ __xmlattr[AttrVersion]
1607
+ end
1608
+
1609
+ def xmlattr_version=(value)
1610
+ __xmlattr[AttrVersion] = value
1611
+ end
1612
+
1613
+ def xmlattr_id
1614
+ __xmlattr[AttrId]
1615
+ end
1616
+
1617
+ def xmlattr_id=(value)
1618
+ __xmlattr[AttrId] = value
1619
+ end
1620
+
1621
+ def xmlattr_priority
1622
+ __xmlattr[AttrPriority]
1623
+ end
1624
+
1625
+ def xmlattr_priority=(value)
1626
+ __xmlattr[AttrPriority] = value
1627
+ end
1628
+
1629
+ def xmlattr_time
1630
+ __xmlattr[AttrC_Time]
1631
+ end
1632
+
1633
+ def xmlattr_time=(value)
1634
+ __xmlattr[AttrC_Time] = value
1635
+ end
1636
+
1637
+ def xmlattr_progress
1638
+ __xmlattr[AttrProgress]
1639
+ end
1640
+
1641
+ def xmlattr_progress=(value)
1642
+ __xmlattr[AttrProgress] = value
1643
+ end
1644
+
1645
+ def xmlattr_log
1646
+ __xmlattr[AttrLog]
1647
+ end
1648
+
1649
+ def xmlattr_log=(value)
1650
+ __xmlattr[AttrLog] = value
1651
+ end
1652
+
1653
+ def xmlattr_type
1654
+ __xmlattr[AttrType]
1655
+ end
1656
+
1657
+ def xmlattr_type=(value)
1658
+ __xmlattr[AttrType] = value
1659
+ end
1660
+
1661
+ def xmlattr_timeout
1662
+ __xmlattr[AttrTimeout]
1663
+ end
1664
+
1665
+ def xmlattr_timeout=(value)
1666
+ __xmlattr[AttrTimeout] = value
1667
+ end
1668
+
1669
+ def xmlattr_timeout_limit
1670
+ __xmlattr[AttrTimeout_limit]
1671
+ end
1672
+
1673
+ def xmlattr_timeout_limit=(value)
1674
+ __xmlattr[AttrTimeout_limit] = value
1675
+ end
1676
+
1677
+ def xmlattr_uid
1678
+ __xmlattr[AttrUid]
1679
+ end
1680
+
1681
+ def xmlattr_uid=(value)
1682
+ __xmlattr[AttrUid] = value
1683
+ end
1684
+
1685
+ def initialize(auth = nil, cookie = nil, target = [], origin = nil, src = nil, dst = nil, session = nil)
1686
+ @auth = auth
1687
+ @cookie = cookie
1688
+ @target = target
1689
+ @origin = origin
1690
+ @src = src
1691
+ @dst = dst
1692
+ @session = session
1693
+ @__xmlattr = {}
1694
+ end
1695
+ end
1696
+
1697
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operatorType
1698
+ # configuration - Virtuozzo::SOAP::Types::ResLog::ConfigurationType
1699
+ class OperatorType
1700
+ attr_accessor :configuration
1701
+
1702
+ def initialize(configuration = nil)
1703
+ @configuration = configuration
1704
+ end
1705
+ end
1706
+
1707
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operator_functionalType
1708
+ # configuration - Virtuozzo::SOAP::Types::ResLog::ConfigurationType
1709
+ # ok - Virtuozzo::SOAP::Types::ResLog::Operator_functionalType::Ok
1710
+ # error - Virtuozzo::SOAP::Types::ResLog::Operator_functionalType::Error
1711
+ class Operator_functionalType < OperatorType
1712
+
1713
+ # inner class for member: ok
1714
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
1715
+ class Ok
1716
+ def initialize
1717
+ end
1718
+ end
1719
+
1720
+ # inner class for member: error
1721
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
1722
+ # code - SOAP::SOAPInt
1723
+ # message - SOAP::SOAPString
1724
+ class Error
1725
+ attr_accessor :code
1726
+ attr_accessor :message
1727
+
1728
+ def initialize(code = nil, message = nil)
1729
+ @code = code
1730
+ @message = message
1731
+ end
1732
+ end
1733
+
1734
+ attr_accessor :configuration
1735
+ attr_accessor :ok
1736
+ attr_accessor :error
1737
+
1738
+ def initialize(configuration = nil, ok = [], error = [])
1739
+ @configuration = configuration
1740
+ @ok = ok
1741
+ @error = error
1742
+ end
1743
+ end
1744
+
1745
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/res_log}res_logType
1746
+ # configuration - Virtuozzo::SOAP::Types::ResLog::ConfigurationType
1747
+ # ok - Virtuozzo::SOAP::Types::ResLog::Res_logType::Ok
1748
+ # error - Virtuozzo::SOAP::Types::ResLog::Res_logType::Error
1749
+ # get_log - Virtuozzo::SOAP::Types::ResLog::Get_log
1750
+ # set_log - Virtuozzo::SOAP::Types::ResLog::LogType
1751
+ # get_log_info - Virtuozzo::SOAP::Types::ResLog::Get_log_info
1752
+ # get_top - Virtuozzo::SOAP::Types::ResLog::Get_top
1753
+ # data - Virtuozzo::SOAP::Types::ResLog::Perf_dataType
1754
+ # log_info - Virtuozzo::SOAP::Types::ResLog::LogType
1755
+ # top - Virtuozzo::SOAP::Types::ResLog::Top
1756
+ class Res_logType < Operator_functionalType
1757
+
1758
+ # inner class for member: ok
1759
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
1760
+ class Ok
1761
+ def initialize
1762
+ end
1763
+ end
1764
+
1765
+ # inner class for member: error
1766
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
1767
+ # code - SOAP::SOAPInt
1768
+ # message - SOAP::SOAPString
1769
+ class Error
1770
+ attr_accessor :code
1771
+ attr_accessor :message
1772
+
1773
+ def initialize(code = nil, message = nil)
1774
+ @code = code
1775
+ @message = message
1776
+ end
1777
+ end
1778
+
1779
+ attr_accessor :configuration
1780
+ attr_accessor :ok
1781
+ attr_accessor :error
1782
+ attr_accessor :get_log
1783
+ attr_accessor :set_log
1784
+ attr_accessor :get_log_info
1785
+ attr_accessor :get_top
1786
+ attr_accessor :data
1787
+ attr_accessor :log_info
1788
+ attr_accessor :top
1789
+
1790
+ def initialize(configuration = nil, ok = [], error = [], get_log = [], set_log = [], get_log_info = [], get_top = [], data = [], log_info = [], top = [])
1791
+ @configuration = configuration
1792
+ @ok = ok
1793
+ @error = error
1794
+ @get_log = get_log
1795
+ @set_log = set_log
1796
+ @get_log_info = get_log_info
1797
+ @get_top = get_top
1798
+ @data = data
1799
+ @log_info = log_info
1800
+ @top = top
1801
+ end
1802
+ end
1803
+
1804
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operator_periodicType
1805
+ # configuration - Virtuozzo::SOAP::Types::ResLog::ConfigurationType
1806
+ # ok - Virtuozzo::SOAP::Types::ResLog::Operator_periodicType::Ok
1807
+ # error - Virtuozzo::SOAP::Types::ResLog::Operator_periodicType::Error
1808
+ # start_monitor - Virtuozzo::SOAP::Types::ResLog::Start_monitorType
1809
+ # stop_monitor - Virtuozzo::SOAP::Types::ResLog::Stop_monitorType
1810
+ # set_period - Virtuozzo::SOAP::Types::ResLog::Set_periodType
1811
+ # report - (any)
1812
+ class Operator_periodicType < Operator_functionalType
1813
+
1814
+ # inner class for member: ok
1815
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
1816
+ class Ok
1817
+ def initialize
1818
+ end
1819
+ end
1820
+
1821
+ # inner class for member: error
1822
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
1823
+ # code - SOAP::SOAPInt
1824
+ # message - SOAP::SOAPString
1825
+ class Error
1826
+ attr_accessor :code
1827
+ attr_accessor :message
1828
+
1829
+ def initialize(code = nil, message = nil)
1830
+ @code = code
1831
+ @message = message
1832
+ end
1833
+ end
1834
+
1835
+ attr_accessor :configuration
1836
+ attr_accessor :ok
1837
+ attr_accessor :error
1838
+ attr_accessor :start_monitor
1839
+ attr_accessor :stop_monitor
1840
+ attr_accessor :set_period
1841
+ attr_accessor :report
1842
+
1843
+ def initialize(configuration = nil, ok = [], error = [], start_monitor = nil, stop_monitor = nil, set_period = nil, report = nil)
1844
+ @configuration = configuration
1845
+ @ok = ok
1846
+ @error = error
1847
+ @start_monitor = start_monitor
1848
+ @stop_monitor = stop_monitor
1849
+ @set_period = set_period
1850
+ @report = report
1851
+ end
1852
+ end
1853
+
1854
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}set_periodType
1855
+ # collect - SOAP::SOAPInt
1856
+ # log - SOAP::SOAPInt
1857
+ # report - SOAP::SOAPInt
1858
+ class Set_periodType
1859
+ attr_accessor :collect
1860
+ attr_accessor :log
1861
+ attr_accessor :report
1862
+
1863
+ def initialize(collect = nil, log = nil, report = nil)
1864
+ @collect = collect
1865
+ @log = log
1866
+ @report = report
1867
+ end
1868
+ end
1869
+
1870
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}start_monitorType
1871
+ # period - SOAP::SOAPInt
1872
+ class Start_monitorType
1873
+ attr_accessor :period
1874
+ attr_reader :__xmlele_any
1875
+
1876
+ def set_any(elements)
1877
+ @__xmlele_any = elements
1878
+ end
1879
+
1880
+ def initialize(period = nil)
1881
+ @period = period
1882
+ @__xmlele_any = nil
1883
+ end
1884
+ end
1885
+
1886
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}stop_monitorType
1887
+ class Stop_monitorType
1888
+ attr_reader :__xmlele_any
1889
+
1890
+ def set_any(elements)
1891
+ @__xmlele_any = elements
1892
+ end
1893
+
1894
+ def initialize
1895
+ @__xmlele_any = nil
1896
+ end
1897
+ end
1898
+
1899
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}authType
1900
+ class AuthType
1901
+ attr_reader :__xmlele_any
1902
+
1903
+ def set_any(elements)
1904
+ @__xmlele_any = elements
1905
+ end
1906
+
1907
+ def initialize
1908
+ @__xmlele_any = nil
1909
+ end
1910
+ end
1911
+
1912
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}routeType
1913
+ # director - SOAP::SOAPString
1914
+ # host - SOAP::SOAPString
1915
+ # index - SOAP::SOAPString
1916
+ # target - SOAP::SOAPString
1917
+ class RouteType
1918
+ attr_accessor :director
1919
+ attr_accessor :host
1920
+ attr_accessor :index
1921
+ attr_accessor :target
1922
+
1923
+ def initialize(director = nil, host = nil, index = nil, target = nil)
1924
+ @director = director
1925
+ @host = host
1926
+ @index = index
1927
+ @target = target
1928
+ end
1929
+ end
1930
+
1931
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}dataType
1932
+ class DataType < ::Array
1933
+ end
1934
+
1935
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}configurationType
1936
+ class ConfigurationType
1937
+ def initialize
1938
+ end
1939
+ end
1940
+
1941
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/res_log}res_log_configurationType
1942
+ # compress - Virtuozzo::SOAP::Types::ResLog::Res_log_configurationType::Compress
1943
+ # start_time - SOAP::SOAPString
1944
+ class Res_log_configurationType < ConfigurationType
1945
+
1946
+ # inner class for member: compress
1947
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/res_log}compress
1948
+ # interval - SOAP::SOAPInt
1949
+ # offset - SOAP::SOAPInt
1950
+ # duration - SOAP::SOAPInt
1951
+ # period - SOAP::SOAPInt
1952
+ # start_delay - SOAP::SOAPInt
1953
+ class Compress
1954
+ attr_accessor :interval
1955
+ attr_accessor :offset
1956
+ attr_accessor :duration
1957
+ attr_accessor :period
1958
+ attr_accessor :start_delay
1959
+
1960
+ def initialize(interval = nil, offset = nil, duration = nil, period = nil, start_delay = nil)
1961
+ @interval = interval
1962
+ @offset = offset
1963
+ @duration = duration
1964
+ @period = period
1965
+ @start_delay = start_delay
1966
+ end
1967
+ end
1968
+
1969
+ attr_accessor :compress
1970
+ attr_accessor :start_time
1971
+
1972
+ def initialize(compress = [], start_time = nil)
1973
+ @compress = compress
1974
+ @start_time = start_time
1975
+ end
1976
+ end
1977
+
1978
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}event_configurationType
1979
+ # period - SOAP::SOAPInt
1980
+ class Event_configurationType < ConfigurationType
1981
+ attr_accessor :period
1982
+
1983
+ def initialize(period = nil)
1984
+ @period = period
1985
+ end
1986
+ end
1987
+
1988
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}periodic_configurationType
1989
+ # log_priority - SOAP::SOAPInt
1990
+ # monitor_priority - SOAP::SOAPInt
1991
+ # min_monitor_period - SOAP::SOAPInt
1992
+ # min_monitor_period_root - SOAP::SOAPInt
1993
+ class Periodic_configurationType < ConfigurationType
1994
+ attr_accessor :log_priority
1995
+ attr_accessor :monitor_priority
1996
+ attr_accessor :min_monitor_period
1997
+ attr_accessor :min_monitor_period_root
1998
+
1999
+ def initialize(log_priority = nil, monitor_priority = nil, min_monitor_period = nil, min_monitor_period_root = nil)
2000
+ @log_priority = log_priority
2001
+ @monitor_priority = monitor_priority
2002
+ @min_monitor_period = min_monitor_period
2003
+ @min_monitor_period_root = min_monitor_period_root
2004
+ end
2005
+ end
2006
+
2007
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}transport_type
2008
+ class Transport_type < ::String
2009
+ Tcp = Transport_type.new("tcp")
2010
+ Udp = Transport_type.new("udp")
2011
+ end
2012
+
2013
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}yes_no_type
2014
+ class Yes_no_type < ::String
2015
+ No = Yes_no_type.new("no")
2016
+ Yes = Yes_no_type.new("yes")
2017
+ end
2018
+
2019
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/res_log}get_log
2020
+ # eid - (any)
2021
+ # m_class - Virtuozzo::SOAP::Types::ResLog::ClassType
2022
+ # start_time - (any)
2023
+ # end_time - (any)
2024
+ # records - SOAP::SOAPInt
2025
+ # period - SOAP::SOAPInt
2026
+ # report_empty - (any)
2027
+ class Get_log
2028
+ attr_accessor :eid
2029
+ attr_accessor :start_time
2030
+ attr_accessor :end_time
2031
+ attr_accessor :records
2032
+ attr_accessor :period
2033
+ attr_accessor :report_empty
2034
+
2035
+ def m_class
2036
+ @v_class
2037
+ end
2038
+
2039
+ def m_class=(value)
2040
+ @v_class = value
2041
+ end
2042
+
2043
+ def initialize(eid = nil, v_class = [], start_time = nil, end_time = nil, records = nil, period = nil, report_empty = nil)
2044
+ @eid = eid
2045
+ @v_class = v_class
2046
+ @start_time = start_time
2047
+ @end_time = end_time
2048
+ @records = records
2049
+ @period = period
2050
+ @report_empty = report_empty
2051
+ end
2052
+ end
2053
+
2054
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/res_log}get_log_info
2055
+ class Get_log_info
2056
+ def initialize
2057
+ end
2058
+ end
2059
+
2060
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/res_log}get_top
2061
+ # parameter - SOAP::SOAPString
2062
+ # count - SOAP::SOAPInt
2063
+ # descending - (any)
2064
+ # start_time - (any)
2065
+ # end_time - (any)
2066
+ # eid_list - Virtuozzo::SOAP::Types::ResLog::Eid_listType
2067
+ # exclude - (any)
2068
+ class Get_top
2069
+ attr_accessor :parameter
2070
+ attr_accessor :count
2071
+ attr_accessor :descending
2072
+ attr_accessor :start_time
2073
+ attr_accessor :end_time
2074
+ attr_accessor :eid_list
2075
+ attr_accessor :exclude
2076
+
2077
+ def initialize(parameter = nil, count = nil, descending = nil, start_time = nil, end_time = nil, eid_list = nil, exclude = nil)
2078
+ @parameter = parameter
2079
+ @count = count
2080
+ @descending = descending
2081
+ @start_time = start_time
2082
+ @end_time = end_time
2083
+ @eid_list = eid_list
2084
+ @exclude = exclude
2085
+ end
2086
+ end
2087
+
2088
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/res_log}top
2089
+ # set - Virtuozzo::SOAP::Types::ResLog::Top::Set
2090
+ # total - SOAP::SOAPAnySimpleType
2091
+ class Top
2092
+
2093
+ # inner class for member: set
2094
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/res_log}set
2095
+ # eid - (any)
2096
+ # value - SOAP::SOAPAnySimpleType
2097
+ class Set
2098
+ attr_accessor :eid
2099
+ attr_accessor :value
2100
+
2101
+ def initialize(eid = nil, value = nil)
2102
+ @eid = eid
2103
+ @value = value
2104
+ end
2105
+ end
2106
+
2107
+ attr_accessor :set
2108
+ attr_accessor :total
2109
+
2110
+ def initialize(set = [], total = nil)
2111
+ @set = set
2112
+ @total = total
2113
+ end
2114
+ end
2115
+
2116
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/res_log}compress
2117
+ # configuration - Virtuozzo::SOAP::Types::ResLog::Compress::Configuration
2118
+ class Compress
2119
+
2120
+ # inner class for member: configuration
2121
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/res_log}configuration
2122
+ # compress - Virtuozzo::SOAP::Types::ResLog::Compress::Configuration::Compress
2123
+ # start_time - SOAP::SOAPString
2124
+ class Configuration
2125
+
2126
+ # inner class for member: compress
2127
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/res_log}compress
2128
+ # interval - SOAP::SOAPInt
2129
+ # offset - SOAP::SOAPInt
2130
+ # duration - SOAP::SOAPInt
2131
+ # period - SOAP::SOAPInt
2132
+ # start_delay - SOAP::SOAPInt
2133
+ class Compress
2134
+ attr_accessor :interval
2135
+ attr_accessor :offset
2136
+ attr_accessor :duration
2137
+ attr_accessor :period
2138
+ attr_accessor :start_delay
2139
+
2140
+ def initialize(interval = nil, offset = nil, duration = nil, period = nil, start_delay = nil)
2141
+ @interval = interval
2142
+ @offset = offset
2143
+ @duration = duration
2144
+ @period = period
2145
+ @start_delay = start_delay
2146
+ end
2147
+ end
2148
+
2149
+ attr_accessor :compress
2150
+ attr_accessor :start_time
2151
+
2152
+ def initialize(compress = [], start_time = nil)
2153
+ @compress = compress
2154
+ @start_time = start_time
2155
+ end
2156
+ end
2157
+
2158
+ attr_accessor :configuration
2159
+
2160
+ def initialize(configuration = nil)
2161
+ @configuration = configuration
2162
+ end
2163
+ end
2164
+
2165
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/res_log}get_logResponse
2166
+ class Get_logResponse < ::Array
2167
+ end
2168
+
2169
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/res_log}set_logResponse
2170
+ class Set_logResponse
2171
+ def initialize
2172
+ end
2173
+ end
2174
+
2175
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/res_log}get_log_infoResponse
2176
+ class Get_log_infoResponse < ::Array
2177
+ end
2178
+
2179
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/res_log}get_topResponse
2180
+ # top - Virtuozzo::SOAP::Types::ResLog::Top
2181
+ class Get_topResponse
2182
+ attr_accessor :top
2183
+
2184
+ def initialize(top = nil)
2185
+ @top = top
2186
+ end
2187
+ end
2188
+
2189
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ok
2190
+ class Ok < ::String
2191
+ def initialize(*arg)
2192
+ super
2193
+ end
2194
+ end
2195
+
2196
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}packet
2197
+ # auth - Virtuozzo::SOAP::Types::ResLog::AuthType
2198
+ # cookie - SOAP::SOAPString
2199
+ # target - SOAP::SOAPString
2200
+ # origin - SOAP::SOAPString
2201
+ # src - Virtuozzo::SOAP::Types::ResLog::RouteType
2202
+ # dst - Virtuozzo::SOAP::Types::ResLog::RouteType
2203
+ # session - SOAP::SOAPString
2204
+ # data - Virtuozzo::SOAP::Types::ResLog::Packet::C_Data
2205
+ # xmlattr_version - SOAP::SOAPString
2206
+ # xmlattr_id - SOAP::SOAPString
2207
+ # xmlattr_priority - SOAP::SOAPString
2208
+ # xmlattr_time - SOAP::SOAPString
2209
+ # xmlattr_progress - SOAP::SOAPString
2210
+ # xmlattr_log - SOAP::SOAPString
2211
+ # xmlattr_type - SOAP::SOAPInt
2212
+ # xmlattr_timeout - SOAP::SOAPInt
2213
+ # xmlattr_timeout_limit - SOAP::SOAPInt
2214
+ # xmlattr_uid - SOAP::SOAPInt
2215
+ class Packet < Packet_headerType
2216
+ AttrC_Time = XSD::QName.new(nil, "time")
2217
+ AttrId = XSD::QName.new(nil, "id")
2218
+ AttrLog = XSD::QName.new(nil, "log")
2219
+ AttrPriority = XSD::QName.new(nil, "priority")
2220
+ AttrProgress = XSD::QName.new(nil, "progress")
2221
+ AttrTimeout = XSD::QName.new(nil, "timeout")
2222
+ AttrTimeout_limit = XSD::QName.new(nil, "timeout_limit")
2223
+ AttrType = XSD::QName.new(nil, "type")
2224
+ AttrUid = XSD::QName.new(nil, "uid")
2225
+ AttrVersion = XSD::QName.new(nil, "version")
2226
+
2227
+ # inner class for member: data
2228
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}data
2229
+ class C_Data < ::Array
2230
+ end
2231
+
2232
+ attr_accessor :auth
2233
+ attr_accessor :cookie
2234
+ attr_accessor :target
2235
+ attr_accessor :origin
2236
+ attr_accessor :src
2237
+ attr_accessor :dst
2238
+ attr_accessor :session
2239
+ attr_accessor :data
2240
+
2241
+ def __xmlattr
2242
+ @__xmlattr ||= {}
2243
+ end
2244
+
2245
+ def xmlattr_version
2246
+ __xmlattr[AttrVersion]
2247
+ end
2248
+
2249
+ def xmlattr_version=(value)
2250
+ __xmlattr[AttrVersion] = value
2251
+ end
2252
+
2253
+ def xmlattr_id
2254
+ __xmlattr[AttrId]
2255
+ end
2256
+
2257
+ def xmlattr_id=(value)
2258
+ __xmlattr[AttrId] = value
2259
+ end
2260
+
2261
+ def xmlattr_priority
2262
+ __xmlattr[AttrPriority]
2263
+ end
2264
+
2265
+ def xmlattr_priority=(value)
2266
+ __xmlattr[AttrPriority] = value
2267
+ end
2268
+
2269
+ def xmlattr_time
2270
+ __xmlattr[AttrC_Time]
2271
+ end
2272
+
2273
+ def xmlattr_time=(value)
2274
+ __xmlattr[AttrC_Time] = value
2275
+ end
2276
+
2277
+ def xmlattr_progress
2278
+ __xmlattr[AttrProgress]
2279
+ end
2280
+
2281
+ def xmlattr_progress=(value)
2282
+ __xmlattr[AttrProgress] = value
2283
+ end
2284
+
2285
+ def xmlattr_log
2286
+ __xmlattr[AttrLog]
2287
+ end
2288
+
2289
+ def xmlattr_log=(value)
2290
+ __xmlattr[AttrLog] = value
2291
+ end
2292
+
2293
+ def xmlattr_type
2294
+ __xmlattr[AttrType]
2295
+ end
2296
+
2297
+ def xmlattr_type=(value)
2298
+ __xmlattr[AttrType] = value
2299
+ end
2300
+
2301
+ def xmlattr_timeout
2302
+ __xmlattr[AttrTimeout]
2303
+ end
2304
+
2305
+ def xmlattr_timeout=(value)
2306
+ __xmlattr[AttrTimeout] = value
2307
+ end
2308
+
2309
+ def xmlattr_timeout_limit
2310
+ __xmlattr[AttrTimeout_limit]
2311
+ end
2312
+
2313
+ def xmlattr_timeout_limit=(value)
2314
+ __xmlattr[AttrTimeout_limit] = value
2315
+ end
2316
+
2317
+ def xmlattr_uid
2318
+ __xmlattr[AttrUid]
2319
+ end
2320
+
2321
+ def xmlattr_uid=(value)
2322
+ __xmlattr[AttrUid] = value
2323
+ end
2324
+
2325
+ def initialize(auth = nil, cookie = nil, target = [], origin = nil, src = nil, dst = nil, session = nil, data = nil)
2326
+ @auth = auth
2327
+ @cookie = cookie
2328
+ @target = target
2329
+ @origin = origin
2330
+ @src = src
2331
+ @dst = dst
2332
+ @session = session
2333
+ @data = data
2334
+ @__xmlattr = {}
2335
+ end
2336
+ end
2337
+
2338
+ end
2339
+ end
2340
+ end