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