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