Merge "Revert "Remove vendored libjuju""
[osm/N2VC.git] / modules / libjuju / juju / client / _client7.py
1 # DO NOT CHANGE THIS FILE! This file is auto-generated by facade.py.
2 # Changes will be overwritten/lost when the file is regenerated.
3
4 from juju.client.facade import Type, ReturnMapping
5 from juju.client._definitions import *
6
7
8 class ProvisionerFacade(Type):
9 name = 'Provisioner'
10 version = 7
11 schema = {'definitions': {'APIHostPortsResult': {'additionalProperties': False,
12 'properties': {'servers': {'items': {'items': {'$ref': '#/definitions/HostPort'},
13 'type': 'array'},
14 'type': 'array'}},
15 'required': ['servers'],
16 'type': 'object'},
17 'Address': {'additionalProperties': False,
18 'properties': {'scope': {'type': 'string'},
19 'space-name': {'type': 'string'},
20 'type': {'type': 'string'},
21 'value': {'type': 'string'}},
22 'required': ['value', 'type', 'scope'],
23 'type': 'object'},
24 'Binary': {'additionalProperties': False,
25 'properties': {'Arch': {'type': 'string'},
26 'Number': {'$ref': '#/definitions/Number'},
27 'Series': {'type': 'string'}},
28 'required': ['Number', 'Series', 'Arch'],
29 'type': 'object'},
30 'BoolResult': {'additionalProperties': False,
31 'properties': {'error': {'$ref': '#/definitions/Error'},
32 'result': {'type': 'boolean'}},
33 'required': ['result'],
34 'type': 'object'},
35 'BoolResults': {'additionalProperties': False,
36 'properties': {'results': {'items': {'$ref': '#/definitions/BoolResult'},
37 'type': 'array'}},
38 'required': ['results'],
39 'type': 'object'},
40 'BytesResult': {'additionalProperties': False,
41 'properties': {'result': {'items': {'type': 'integer'},
42 'type': 'array'}},
43 'required': ['result'],
44 'type': 'object'},
45 'CharmLXDProfile': {'additionalProperties': False,
46 'properties': {'config': {'patternProperties': {'.*': {'type': 'string'}},
47 'type': 'object'},
48 'description': {'type': 'string'},
49 'devices': {'patternProperties': {'.*': {'patternProperties': {'.*': {'type': 'string'}},
50 'type': 'object'}},
51 'type': 'object'}},
52 'required': ['config',
53 'description',
54 'devices'],
55 'type': 'object'},
56 'CloudImageMetadata': {'additionalProperties': False,
57 'properties': {'arch': {'type': 'string'},
58 'image-id': {'type': 'string'},
59 'priority': {'type': 'integer'},
60 'region': {'type': 'string'},
61 'root-storage-size': {'type': 'integer'},
62 'root-storage-type': {'type': 'string'},
63 'series': {'type': 'string'},
64 'source': {'type': 'string'},
65 'stream': {'type': 'string'},
66 'version': {'type': 'string'},
67 'virt-type': {'type': 'string'}},
68 'required': ['image-id',
69 'region',
70 'version',
71 'series',
72 'arch',
73 'source',
74 'priority'],
75 'type': 'object'},
76 'ConstraintsResult': {'additionalProperties': False,
77 'properties': {'constraints': {'$ref': '#/definitions/Value'},
78 'error': {'$ref': '#/definitions/Error'}},
79 'required': ['constraints'],
80 'type': 'object'},
81 'ConstraintsResults': {'additionalProperties': False,
82 'properties': {'results': {'items': {'$ref': '#/definitions/ConstraintsResult'},
83 'type': 'array'}},
84 'required': ['results'],
85 'type': 'object'},
86 'ContainerConfig': {'additionalProperties': False,
87 'properties': {'UpdateBehavior': {'$ref': '#/definitions/UpdateBehavior'},
88 'apt-mirror': {'type': 'string'},
89 'apt-proxy': {'$ref': '#/definitions/Settings'},
90 'authorized-keys': {'type': 'string'},
91 'cloudinit-userdata': {'patternProperties': {'.*': {'additionalProperties': True,
92 'type': 'object'}},
93 'type': 'object'},
94 'container-inherit-properties': {'type': 'string'},
95 'juju-proxy': {'$ref': '#/definitions/Settings'},
96 'legacy-proxy': {'$ref': '#/definitions/Settings'},
97 'provider-type': {'type': 'string'},
98 'snap-proxy': {'$ref': '#/definitions/Settings'},
99 'ssl-hostname-verification': {'type': 'boolean'}},
100 'required': ['provider-type',
101 'authorized-keys',
102 'ssl-hostname-verification',
103 'legacy-proxy',
104 'juju-proxy',
105 'apt-proxy',
106 'snap-proxy',
107 'apt-mirror',
108 'UpdateBehavior'],
109 'type': 'object'},
110 'ContainerLXDProfile': {'additionalProperties': False,
111 'properties': {'name': {'type': 'string'},
112 'profile': {'$ref': '#/definitions/CharmLXDProfile'}},
113 'required': ['profile', 'name'],
114 'type': 'object'},
115 'ContainerManagerConfig': {'additionalProperties': False,
116 'properties': {'config': {'patternProperties': {'.*': {'type': 'string'}},
117 'type': 'object'}},
118 'required': ['config'],
119 'type': 'object'},
120 'ContainerManagerConfigParams': {'additionalProperties': False,
121 'properties': {'type': {'type': 'string'}},
122 'required': ['type'],
123 'type': 'object'},
124 'ContainerProfileResult': {'additionalProperties': False,
125 'properties': {'error': {'$ref': '#/definitions/Error'},
126 'lxd-profiles': {'items': {'$ref': '#/definitions/ContainerLXDProfile'},
127 'type': 'array'}},
128 'type': 'object'},
129 'ContainerProfileResults': {'additionalProperties': False,
130 'properties': {'results': {'items': {'$ref': '#/definitions/ContainerProfileResult'},
131 'type': 'array'}},
132 'required': ['results'],
133 'type': 'object'},
134 'ControllerAPIInfoResult': {'additionalProperties': False,
135 'properties': {'addresses': {'items': {'type': 'string'},
136 'type': 'array'},
137 'cacert': {'type': 'string'},
138 'error': {'$ref': '#/definitions/Error'}},
139 'required': ['addresses',
140 'cacert'],
141 'type': 'object'},
142 'ControllerAPIInfoResults': {'additionalProperties': False,
143 'properties': {'results': {'items': {'$ref': '#/definitions/ControllerAPIInfoResult'},
144 'type': 'array'}},
145 'required': ['results'],
146 'type': 'object'},
147 'ControllerConfigResult': {'additionalProperties': False,
148 'properties': {'config': {'patternProperties': {'.*': {'additionalProperties': True,
149 'type': 'object'}},
150 'type': 'object'}},
151 'required': ['config'],
152 'type': 'object'},
153 'DeviceBridgeInfo': {'additionalProperties': False,
154 'properties': {'bridge-name': {'type': 'string'},
155 'host-device-name': {'type': 'string'},
156 'mac-address': {'type': 'string'}},
157 'required': ['host-device-name',
158 'bridge-name',
159 'mac-address'],
160 'type': 'object'},
161 'DistributionGroupResult': {'additionalProperties': False,
162 'properties': {'error': {'$ref': '#/definitions/Error'},
163 'result': {'items': {'type': 'string'},
164 'type': 'array'}},
165 'required': ['result'],
166 'type': 'object'},
167 'DistributionGroupResults': {'additionalProperties': False,
168 'properties': {'results': {'items': {'$ref': '#/definitions/DistributionGroupResult'},
169 'type': 'array'}},
170 'required': ['results'],
171 'type': 'object'},
172 'Entities': {'additionalProperties': False,
173 'properties': {'entities': {'items': {'$ref': '#/definitions/Entity'},
174 'type': 'array'}},
175 'required': ['entities'],
176 'type': 'object'},
177 'Entity': {'additionalProperties': False,
178 'properties': {'tag': {'type': 'string'}},
179 'required': ['tag'],
180 'type': 'object'},
181 'EntityPassword': {'additionalProperties': False,
182 'properties': {'password': {'type': 'string'},
183 'tag': {'type': 'string'}},
184 'required': ['tag', 'password'],
185 'type': 'object'},
186 'EntityPasswords': {'additionalProperties': False,
187 'properties': {'changes': {'items': {'$ref': '#/definitions/EntityPassword'},
188 'type': 'array'}},
189 'required': ['changes'],
190 'type': 'object'},
191 'EntityStatusArgs': {'additionalProperties': False,
192 'properties': {'data': {'patternProperties': {'.*': {'additionalProperties': True,
193 'type': 'object'}},
194 'type': 'object'},
195 'info': {'type': 'string'},
196 'status': {'type': 'string'},
197 'tag': {'type': 'string'}},
198 'required': ['tag',
199 'status',
200 'info',
201 'data'],
202 'type': 'object'},
203 'Error': {'additionalProperties': False,
204 'properties': {'code': {'type': 'string'},
205 'info': {'$ref': '#/definitions/ErrorInfo'},
206 'message': {'type': 'string'}},
207 'required': ['message', 'code'],
208 'type': 'object'},
209 'ErrorInfo': {'additionalProperties': False,
210 'properties': {'macaroon': {'$ref': '#/definitions/Macaroon'},
211 'macaroon-path': {'type': 'string'}},
212 'type': 'object'},
213 'ErrorResult': {'additionalProperties': False,
214 'properties': {'error': {'$ref': '#/definitions/Error'}},
215 'type': 'object'},
216 'ErrorResults': {'additionalProperties': False,
217 'properties': {'results': {'items': {'$ref': '#/definitions/ErrorResult'},
218 'type': 'array'}},
219 'required': ['results'],
220 'type': 'object'},
221 'FindToolsParams': {'additionalProperties': False,
222 'properties': {'agentstream': {'type': 'string'},
223 'arch': {'type': 'string'},
224 'major': {'type': 'integer'},
225 'minor': {'type': 'integer'},
226 'number': {'$ref': '#/definitions/Number'},
227 'series': {'type': 'string'}},
228 'required': ['number',
229 'major',
230 'minor',
231 'arch',
232 'series',
233 'agentstream'],
234 'type': 'object'},
235 'FindToolsResult': {'additionalProperties': False,
236 'properties': {'error': {'$ref': '#/definitions/Error'},
237 'list': {'items': {'$ref': '#/definitions/Tools'},
238 'type': 'array'}},
239 'required': ['list'],
240 'type': 'object'},
241 'HardwareCharacteristics': {'additionalProperties': False,
242 'properties': {'arch': {'type': 'string'},
243 'availability-zone': {'type': 'string'},
244 'cpu-cores': {'type': 'integer'},
245 'cpu-power': {'type': 'integer'},
246 'mem': {'type': 'integer'},
247 'root-disk': {'type': 'integer'},
248 'tags': {'items': {'type': 'string'},
249 'type': 'array'}},
250 'type': 'object'},
251 'HostNetworkChange': {'additionalProperties': False,
252 'properties': {'error': {'$ref': '#/definitions/Error'},
253 'new-bridges': {'items': {'$ref': '#/definitions/DeviceBridgeInfo'},
254 'type': 'array'},
255 'reconfigure-delay': {'type': 'integer'}},
256 'required': ['new-bridges',
257 'reconfigure-delay'],
258 'type': 'object'},
259 'HostNetworkChangeResults': {'additionalProperties': False,
260 'properties': {'results': {'items': {'$ref': '#/definitions/HostNetworkChange'},
261 'type': 'array'}},
262 'required': ['results'],
263 'type': 'object'},
264 'HostPort': {'additionalProperties': False,
265 'properties': {'Address': {'$ref': '#/definitions/Address'},
266 'port': {'type': 'integer'}},
267 'required': ['Address', 'port'],
268 'type': 'object'},
269 'InstanceInfo': {'additionalProperties': False,
270 'properties': {'characteristics': {'$ref': '#/definitions/HardwareCharacteristics'},
271 'charm-profiles': {'items': {'type': 'string'},
272 'type': 'array'},
273 'instance-id': {'type': 'string'},
274 'network-config': {'items': {'$ref': '#/definitions/NetworkConfig'},
275 'type': 'array'},
276 'nonce': {'type': 'string'},
277 'tag': {'type': 'string'},
278 'volume-attachments': {'patternProperties': {'.*': {'$ref': '#/definitions/VolumeAttachmentInfo'}},
279 'type': 'object'},
280 'volumes': {'items': {'$ref': '#/definitions/Volume'},
281 'type': 'array'}},
282 'required': ['tag',
283 'instance-id',
284 'nonce',
285 'characteristics',
286 'volumes',
287 'volume-attachments',
288 'network-config',
289 'charm-profiles'],
290 'type': 'object'},
291 'InstancesInfo': {'additionalProperties': False,
292 'properties': {'machines': {'items': {'$ref': '#/definitions/InstanceInfo'},
293 'type': 'array'}},
294 'required': ['machines'],
295 'type': 'object'},
296 'LifeResult': {'additionalProperties': False,
297 'properties': {'error': {'$ref': '#/definitions/Error'},
298 'life': {'type': 'string'}},
299 'required': ['life'],
300 'type': 'object'},
301 'LifeResults': {'additionalProperties': False,
302 'properties': {'results': {'items': {'$ref': '#/definitions/LifeResult'},
303 'type': 'array'}},
304 'required': ['results'],
305 'type': 'object'},
306 'Macaroon': {'additionalProperties': False, 'type': 'object'},
307 'MachineContainers': {'additionalProperties': False,
308 'properties': {'container-types': {'items': {'type': 'string'},
309 'type': 'array'},
310 'machine-tag': {'type': 'string'}},
311 'required': ['machine-tag',
312 'container-types'],
313 'type': 'object'},
314 'MachineContainersParams': {'additionalProperties': False,
315 'properties': {'params': {'items': {'$ref': '#/definitions/MachineContainers'},
316 'type': 'array'}},
317 'required': ['params'],
318 'type': 'object'},
319 'MachineNetworkConfigResult': {'additionalProperties': False,
320 'properties': {'error': {'$ref': '#/definitions/Error'},
321 'info': {'items': {'$ref': '#/definitions/NetworkConfig'},
322 'type': 'array'}},
323 'required': ['info'],
324 'type': 'object'},
325 'MachineNetworkConfigResults': {'additionalProperties': False,
326 'properties': {'results': {'items': {'$ref': '#/definitions/MachineNetworkConfigResult'},
327 'type': 'array'}},
328 'required': ['results'],
329 'type': 'object'},
330 'ModelConfigResult': {'additionalProperties': False,
331 'properties': {'config': {'patternProperties': {'.*': {'additionalProperties': True,
332 'type': 'object'}},
333 'type': 'object'}},
334 'required': ['config'],
335 'type': 'object'},
336 'NetworkConfig': {'additionalProperties': False,
337 'properties': {'address': {'type': 'string'},
338 'cidr': {'type': 'string'},
339 'config-type': {'type': 'string'},
340 'device-index': {'type': 'integer'},
341 'disabled': {'type': 'boolean'},
342 'dns-search-domains': {'items': {'type': 'string'},
343 'type': 'array'},
344 'dns-servers': {'items': {'type': 'string'},
345 'type': 'array'},
346 'gateway-address': {'type': 'string'},
347 'interface-name': {'type': 'string'},
348 'interface-type': {'type': 'string'},
349 'is-default-gateway': {'type': 'boolean'},
350 'mac-address': {'type': 'string'},
351 'mtu': {'type': 'integer'},
352 'no-auto-start': {'type': 'boolean'},
353 'parent-interface-name': {'type': 'string'},
354 'provider-address-id': {'type': 'string'},
355 'provider-id': {'type': 'string'},
356 'provider-space-id': {'type': 'string'},
357 'provider-subnet-id': {'type': 'string'},
358 'provider-vlan-id': {'type': 'string'},
359 'routes': {'items': {'$ref': '#/definitions/NetworkRoute'},
360 'type': 'array'},
361 'vlan-tag': {'type': 'integer'}},
362 'required': ['device-index',
363 'mac-address',
364 'cidr',
365 'mtu',
366 'provider-id',
367 'provider-subnet-id',
368 'provider-space-id',
369 'provider-address-id',
370 'provider-vlan-id',
371 'vlan-tag',
372 'interface-name',
373 'parent-interface-name',
374 'interface-type',
375 'disabled'],
376 'type': 'object'},
377 'NetworkRoute': {'additionalProperties': False,
378 'properties': {'destination-cidr': {'type': 'string'},
379 'gateway-ip': {'type': 'string'},
380 'metric': {'type': 'integer'}},
381 'required': ['destination-cidr',
382 'gateway-ip',
383 'metric'],
384 'type': 'object'},
385 'NotifyWatchResult': {'additionalProperties': False,
386 'properties': {'NotifyWatcherId': {'type': 'string'},
387 'error': {'$ref': '#/definitions/Error'}},
388 'required': ['NotifyWatcherId'],
389 'type': 'object'},
390 'Number': {'additionalProperties': False,
391 'properties': {'Build': {'type': 'integer'},
392 'Major': {'type': 'integer'},
393 'Minor': {'type': 'integer'},
394 'Patch': {'type': 'integer'},
395 'Tag': {'type': 'string'}},
396 'required': ['Major',
397 'Minor',
398 'Tag',
399 'Patch',
400 'Build'],
401 'type': 'object'},
402 'ProfileChangeResult': {'additionalProperties': False,
403 'properties': {'error': {'$ref': '#/definitions/Error'},
404 'new-profile-name': {'type': 'string'},
405 'old-profile-name': {'type': 'string'},
406 'profile': {'$ref': '#/definitions/CharmLXDProfile'},
407 'subordinate': {'type': 'boolean'}},
408 'type': 'object'},
409 'ProfileChangeResults': {'additionalProperties': False,
410 'properties': {'results': {'items': {'$ref': '#/definitions/ProfileChangeResult'},
411 'type': 'array'}},
412 'required': ['results'],
413 'type': 'object'},
414 'ProvisioningInfo': {'additionalProperties': False,
415 'properties': {'charm-lxd-profiles': {'items': {'type': 'string'},
416 'type': 'array'},
417 'cloudinit-userdata': {'patternProperties': {'.*': {'additionalProperties': True,
418 'type': 'object'}},
419 'type': 'object'},
420 'constraints': {'$ref': '#/definitions/Value'},
421 'controller-config': {'patternProperties': {'.*': {'additionalProperties': True,
422 'type': 'object'}},
423 'type': 'object'},
424 'endpoint-bindings': {'patternProperties': {'.*': {'type': 'string'}},
425 'type': 'object'},
426 'image-metadata': {'items': {'$ref': '#/definitions/CloudImageMetadata'},
427 'type': 'array'},
428 'jobs': {'items': {'type': 'string'},
429 'type': 'array'},
430 'placement': {'type': 'string'},
431 'series': {'type': 'string'},
432 'subnets-to-zones': {'patternProperties': {'.*': {'items': {'type': 'string'},
433 'type': 'array'}},
434 'type': 'object'},
435 'tags': {'patternProperties': {'.*': {'type': 'string'}},
436 'type': 'object'},
437 'volume-attachments': {'items': {'$ref': '#/definitions/VolumeAttachmentParams'},
438 'type': 'array'},
439 'volumes': {'items': {'$ref': '#/definitions/VolumeParams'},
440 'type': 'array'}},
441 'required': ['constraints',
442 'series',
443 'placement',
444 'jobs'],
445 'type': 'object'},
446 'ProvisioningInfoResult': {'additionalProperties': False,
447 'properties': {'error': {'$ref': '#/definitions/Error'},
448 'result': {'$ref': '#/definitions/ProvisioningInfo'}},
449 'required': ['result'],
450 'type': 'object'},
451 'ProvisioningInfoResults': {'additionalProperties': False,
452 'properties': {'results': {'items': {'$ref': '#/definitions/ProvisioningInfoResult'},
453 'type': 'array'}},
454 'required': ['results'],
455 'type': 'object'},
456 'SetMachineNetworkConfig': {'additionalProperties': False,
457 'properties': {'config': {'items': {'$ref': '#/definitions/NetworkConfig'},
458 'type': 'array'},
459 'tag': {'type': 'string'}},
460 'required': ['tag', 'config'],
461 'type': 'object'},
462 'SetProfileArg': {'additionalProperties': False,
463 'properties': {'entity': {'$ref': '#/definitions/Entity'},
464 'profiles': {'items': {'type': 'string'},
465 'type': 'array'}},
466 'required': ['entity', 'profiles'],
467 'type': 'object'},
468 'SetProfileArgs': {'additionalProperties': False,
469 'properties': {'args': {'items': {'$ref': '#/definitions/SetProfileArg'},
470 'type': 'array'}},
471 'required': ['args'],
472 'type': 'object'},
473 'SetProfileUpgradeCompleteArg': {'additionalProperties': False,
474 'properties': {'entity': {'$ref': '#/definitions/Entity'},
475 'message': {'type': 'string'}},
476 'required': ['entity',
477 'message'],
478 'type': 'object'},
479 'SetProfileUpgradeCompleteArgs': {'additionalProperties': False,
480 'properties': {'args': {'items': {'$ref': '#/definitions/SetProfileUpgradeCompleteArg'},
481 'type': 'array'}},
482 'required': ['args'],
483 'type': 'object'},
484 'SetStatus': {'additionalProperties': False,
485 'properties': {'entities': {'items': {'$ref': '#/definitions/EntityStatusArgs'},
486 'type': 'array'}},
487 'required': ['entities'],
488 'type': 'object'},
489 'Settings': {'additionalProperties': False,
490 'properties': {'AutoNoProxy': {'type': 'string'},
491 'Ftp': {'type': 'string'},
492 'Http': {'type': 'string'},
493 'Https': {'type': 'string'},
494 'NoProxy': {'type': 'string'}},
495 'required': ['Http',
496 'Https',
497 'Ftp',
498 'NoProxy',
499 'AutoNoProxy'],
500 'type': 'object'},
501 'StatusResult': {'additionalProperties': False,
502 'properties': {'data': {'patternProperties': {'.*': {'additionalProperties': True,
503 'type': 'object'}},
504 'type': 'object'},
505 'error': {'$ref': '#/definitions/Error'},
506 'id': {'type': 'string'},
507 'info': {'type': 'string'},
508 'life': {'type': 'string'},
509 'since': {'format': 'date-time',
510 'type': 'string'},
511 'status': {'type': 'string'}},
512 'required': ['id',
513 'life',
514 'status',
515 'info',
516 'data',
517 'since'],
518 'type': 'object'},
519 'StatusResults': {'additionalProperties': False,
520 'properties': {'results': {'items': {'$ref': '#/definitions/StatusResult'},
521 'type': 'array'}},
522 'required': ['results'],
523 'type': 'object'},
524 'StringResult': {'additionalProperties': False,
525 'properties': {'error': {'$ref': '#/definitions/Error'},
526 'result': {'type': 'string'}},
527 'required': ['result'],
528 'type': 'object'},
529 'StringResults': {'additionalProperties': False,
530 'properties': {'results': {'items': {'$ref': '#/definitions/StringResult'},
531 'type': 'array'}},
532 'required': ['results'],
533 'type': 'object'},
534 'StringsResult': {'additionalProperties': False,
535 'properties': {'error': {'$ref': '#/definitions/Error'},
536 'result': {'items': {'type': 'string'},
537 'type': 'array'}},
538 'type': 'object'},
539 'StringsResults': {'additionalProperties': False,
540 'properties': {'results': {'items': {'$ref': '#/definitions/StringsResult'},
541 'type': 'array'}},
542 'required': ['results'],
543 'type': 'object'},
544 'StringsWatchResult': {'additionalProperties': False,
545 'properties': {'changes': {'items': {'type': 'string'},
546 'type': 'array'},
547 'error': {'$ref': '#/definitions/Error'},
548 'watcher-id': {'type': 'string'}},
549 'required': ['watcher-id'],
550 'type': 'object'},
551 'StringsWatchResults': {'additionalProperties': False,
552 'properties': {'results': {'items': {'$ref': '#/definitions/StringsWatchResult'},
553 'type': 'array'}},
554 'required': ['results'],
555 'type': 'object'},
556 'Tools': {'additionalProperties': False,
557 'properties': {'sha256': {'type': 'string'},
558 'size': {'type': 'integer'},
559 'url': {'type': 'string'},
560 'version': {'$ref': '#/definitions/Binary'}},
561 'required': ['version', 'url', 'size'],
562 'type': 'object'},
563 'ToolsResult': {'additionalProperties': False,
564 'properties': {'disable-ssl-hostname-verification': {'type': 'boolean'},
565 'error': {'$ref': '#/definitions/Error'},
566 'tools': {'items': {'$ref': '#/definitions/Tools'},
567 'type': 'array'}},
568 'required': ['tools',
569 'disable-ssl-hostname-verification'],
570 'type': 'object'},
571 'ToolsResults': {'additionalProperties': False,
572 'properties': {'results': {'items': {'$ref': '#/definitions/ToolsResult'},
573 'type': 'array'}},
574 'required': ['results'],
575 'type': 'object'},
576 'UpdateBehavior': {'additionalProperties': False,
577 'properties': {'enable-os-refresh-update': {'type': 'boolean'},
578 'enable-os-upgrade': {'type': 'boolean'}},
579 'required': ['enable-os-refresh-update',
580 'enable-os-upgrade'],
581 'type': 'object'},
582 'Value': {'additionalProperties': False,
583 'properties': {'arch': {'type': 'string'},
584 'container': {'type': 'string'},
585 'cores': {'type': 'integer'},
586 'cpu-power': {'type': 'integer'},
587 'instance-type': {'type': 'string'},
588 'mem': {'type': 'integer'},
589 'root-disk': {'type': 'integer'},
590 'spaces': {'items': {'type': 'string'},
591 'type': 'array'},
592 'tags': {'items': {'type': 'string'},
593 'type': 'array'},
594 'virt-type': {'type': 'string'},
595 'zones': {'items': {'type': 'string'},
596 'type': 'array'}},
597 'type': 'object'},
598 'Volume': {'additionalProperties': False,
599 'properties': {'info': {'$ref': '#/definitions/VolumeInfo'},
600 'volume-tag': {'type': 'string'}},
601 'required': ['volume-tag', 'info'],
602 'type': 'object'},
603 'VolumeAttachmentInfo': {'additionalProperties': False,
604 'properties': {'bus-address': {'type': 'string'},
605 'device-link': {'type': 'string'},
606 'device-name': {'type': 'string'},
607 'plan-info': {'$ref': '#/definitions/VolumeAttachmentPlanInfo'},
608 'read-only': {'type': 'boolean'}},
609 'type': 'object'},
610 'VolumeAttachmentParams': {'additionalProperties': False,
611 'properties': {'instance-id': {'type': 'string'},
612 'machine-tag': {'type': 'string'},
613 'provider': {'type': 'string'},
614 'read-only': {'type': 'boolean'},
615 'volume-id': {'type': 'string'},
616 'volume-tag': {'type': 'string'}},
617 'required': ['volume-tag',
618 'machine-tag',
619 'provider'],
620 'type': 'object'},
621 'VolumeAttachmentPlanInfo': {'additionalProperties': False,
622 'properties': {'device-attributes': {'patternProperties': {'.*': {'type': 'string'}},
623 'type': 'object'},
624 'device-type': {'type': 'string'}},
625 'type': 'object'},
626 'VolumeInfo': {'additionalProperties': False,
627 'properties': {'hardware-id': {'type': 'string'},
628 'persistent': {'type': 'boolean'},
629 'pool': {'type': 'string'},
630 'size': {'type': 'integer'},
631 'volume-id': {'type': 'string'},
632 'wwn': {'type': 'string'}},
633 'required': ['volume-id', 'size', 'persistent'],
634 'type': 'object'},
635 'VolumeParams': {'additionalProperties': False,
636 'properties': {'attachment': {'$ref': '#/definitions/VolumeAttachmentParams'},
637 'attributes': {'patternProperties': {'.*': {'additionalProperties': True,
638 'type': 'object'}},
639 'type': 'object'},
640 'provider': {'type': 'string'},
641 'size': {'type': 'integer'},
642 'tags': {'patternProperties': {'.*': {'type': 'string'}},
643 'type': 'object'},
644 'volume-tag': {'type': 'string'}},
645 'required': ['volume-tag',
646 'size',
647 'provider'],
648 'type': 'object'},
649 'WatchContainer': {'additionalProperties': False,
650 'properties': {'container-type': {'type': 'string'},
651 'machine-tag': {'type': 'string'}},
652 'required': ['machine-tag',
653 'container-type'],
654 'type': 'object'},
655 'WatchContainers': {'additionalProperties': False,
656 'properties': {'params': {'items': {'$ref': '#/definitions/WatchContainer'},
657 'type': 'array'}},
658 'required': ['params'],
659 'type': 'object'}},
660 'properties': {'APIAddresses': {'properties': {'Result': {'$ref': '#/definitions/StringsResult'}},
661 'type': 'object'},
662 'APIHostPorts': {'properties': {'Result': {'$ref': '#/definitions/APIHostPortsResult'}},
663 'type': 'object'},
664 'AvailabilityZone': {'properties': {'Params': {'$ref': '#/definitions/Entities'},
665 'Result': {'$ref': '#/definitions/StringResults'}},
666 'type': 'object'},
667 'CACert': {'properties': {'Result': {'$ref': '#/definitions/BytesResult'}},
668 'type': 'object'},
669 'CharmProfileChangeInfo': {'properties': {'Params': {'$ref': '#/definitions/Entities'},
670 'Result': {'$ref': '#/definitions/ProfileChangeResults'}},
671 'type': 'object'},
672 'Constraints': {'properties': {'Params': {'$ref': '#/definitions/Entities'},
673 'Result': {'$ref': '#/definitions/ConstraintsResults'}},
674 'type': 'object'},
675 'ContainerConfig': {'properties': {'Result': {'$ref': '#/definitions/ContainerConfig'}},
676 'type': 'object'},
677 'ContainerManagerConfig': {'properties': {'Params': {'$ref': '#/definitions/ContainerManagerConfigParams'},
678 'Result': {'$ref': '#/definitions/ContainerManagerConfig'}},
679 'type': 'object'},
680 'ControllerAPIInfoForModels': {'properties': {'Params': {'$ref': '#/definitions/Entities'},
681 'Result': {'$ref': '#/definitions/ControllerAPIInfoResults'}},
682 'type': 'object'},
683 'ControllerConfig': {'properties': {'Result': {'$ref': '#/definitions/ControllerConfigResult'}},
684 'type': 'object'},
685 'DistributionGroup': {'properties': {'Params': {'$ref': '#/definitions/Entities'},
686 'Result': {'$ref': '#/definitions/DistributionGroupResults'}},
687 'type': 'object'},
688 'DistributionGroupByMachineId': {'properties': {'Params': {'$ref': '#/definitions/Entities'},
689 'Result': {'$ref': '#/definitions/StringsResults'}},
690 'type': 'object'},
691 'EnsureDead': {'properties': {'Params': {'$ref': '#/definitions/Entities'},
692 'Result': {'$ref': '#/definitions/ErrorResults'}},
693 'type': 'object'},
694 'FindTools': {'properties': {'Params': {'$ref': '#/definitions/FindToolsParams'},
695 'Result': {'$ref': '#/definitions/FindToolsResult'}},
696 'type': 'object'},
697 'GetContainerInterfaceInfo': {'properties': {'Params': {'$ref': '#/definitions/Entities'},
698 'Result': {'$ref': '#/definitions/MachineNetworkConfigResults'}},
699 'type': 'object'},
700 'GetContainerProfileInfo': {'properties': {'Params': {'$ref': '#/definitions/Entities'},
701 'Result': {'$ref': '#/definitions/ContainerProfileResults'}},
702 'type': 'object'},
703 'HostChangesForContainers': {'properties': {'Params': {'$ref': '#/definitions/Entities'},
704 'Result': {'$ref': '#/definitions/HostNetworkChangeResults'}},
705 'type': 'object'},
706 'InstanceId': {'properties': {'Params': {'$ref': '#/definitions/Entities'},
707 'Result': {'$ref': '#/definitions/StringResults'}},
708 'type': 'object'},
709 'InstanceStatus': {'properties': {'Params': {'$ref': '#/definitions/Entities'},
710 'Result': {'$ref': '#/definitions/StatusResults'}},
711 'type': 'object'},
712 'KeepInstance': {'properties': {'Params': {'$ref': '#/definitions/Entities'},
713 'Result': {'$ref': '#/definitions/BoolResults'}},
714 'type': 'object'},
715 'Life': {'properties': {'Params': {'$ref': '#/definitions/Entities'},
716 'Result': {'$ref': '#/definitions/LifeResults'}},
717 'type': 'object'},
718 'MachinesWithTransientErrors': {'properties': {'Result': {'$ref': '#/definitions/StatusResults'}},
719 'type': 'object'},
720 'MarkMachinesForRemoval': {'properties': {'Params': {'$ref': '#/definitions/Entities'},
721 'Result': {'$ref': '#/definitions/ErrorResults'}},
722 'type': 'object'},
723 'ModelConfig': {'properties': {'Result': {'$ref': '#/definitions/ModelConfigResult'}},
724 'type': 'object'},
725 'ModelUUID': {'properties': {'Result': {'$ref': '#/definitions/StringResult'}},
726 'type': 'object'},
727 'PrepareContainerInterfaceInfo': {'properties': {'Params': {'$ref': '#/definitions/Entities'},
728 'Result': {'$ref': '#/definitions/MachineNetworkConfigResults'}},
729 'type': 'object'},
730 'ProvisioningInfo': {'properties': {'Params': {'$ref': '#/definitions/Entities'},
731 'Result': {'$ref': '#/definitions/ProvisioningInfoResults'}},
732 'type': 'object'},
733 'ReleaseContainerAddresses': {'properties': {'Params': {'$ref': '#/definitions/Entities'},
734 'Result': {'$ref': '#/definitions/ErrorResults'}},
735 'type': 'object'},
736 'Remove': {'properties': {'Params': {'$ref': '#/definitions/Entities'},
737 'Result': {'$ref': '#/definitions/ErrorResults'}},
738 'type': 'object'},
739 'RemoveUpgradeCharmProfileData': {'properties': {'Params': {'$ref': '#/definitions/Entities'},
740 'Result': {'$ref': '#/definitions/ErrorResults'}},
741 'type': 'object'},
742 'Series': {'properties': {'Params': {'$ref': '#/definitions/Entities'},
743 'Result': {'$ref': '#/definitions/StringResults'}},
744 'type': 'object'},
745 'SetCharmProfiles': {'properties': {'Params': {'$ref': '#/definitions/SetProfileArgs'},
746 'Result': {'$ref': '#/definitions/ErrorResults'}},
747 'type': 'object'},
748 'SetHostMachineNetworkConfig': {'properties': {'Params': {'$ref': '#/definitions/SetMachineNetworkConfig'}},
749 'type': 'object'},
750 'SetInstanceInfo': {'properties': {'Params': {'$ref': '#/definitions/InstancesInfo'},
751 'Result': {'$ref': '#/definitions/ErrorResults'}},
752 'type': 'object'},
753 'SetInstanceStatus': {'properties': {'Params': {'$ref': '#/definitions/SetStatus'},
754 'Result': {'$ref': '#/definitions/ErrorResults'}},
755 'type': 'object'},
756 'SetObservedNetworkConfig': {'properties': {'Params': {'$ref': '#/definitions/SetMachineNetworkConfig'}},
757 'type': 'object'},
758 'SetPasswords': {'properties': {'Params': {'$ref': '#/definitions/EntityPasswords'},
759 'Result': {'$ref': '#/definitions/ErrorResults'}},
760 'type': 'object'},
761 'SetProviderNetworkConfig': {'properties': {'Params': {'$ref': '#/definitions/Entities'},
762 'Result': {'$ref': '#/definitions/ErrorResults'}},
763 'type': 'object'},
764 'SetStatus': {'properties': {'Params': {'$ref': '#/definitions/SetStatus'},
765 'Result': {'$ref': '#/definitions/ErrorResults'}},
766 'type': 'object'},
767 'SetSupportedContainers': {'properties': {'Params': {'$ref': '#/definitions/MachineContainersParams'},
768 'Result': {'$ref': '#/definitions/ErrorResults'}},
769 'type': 'object'},
770 'SetUpgradeCharmProfileComplete': {'properties': {'Params': {'$ref': '#/definitions/SetProfileUpgradeCompleteArgs'},
771 'Result': {'$ref': '#/definitions/ErrorResults'}},
772 'type': 'object'},
773 'StateAddresses': {'properties': {'Result': {'$ref': '#/definitions/StringsResult'}},
774 'type': 'object'},
775 'Status': {'properties': {'Params': {'$ref': '#/definitions/Entities'},
776 'Result': {'$ref': '#/definitions/StatusResults'}},
777 'type': 'object'},
778 'Tools': {'properties': {'Params': {'$ref': '#/definitions/Entities'},
779 'Result': {'$ref': '#/definitions/ToolsResults'}},
780 'type': 'object'},
781 'UpdateStatus': {'properties': {'Params': {'$ref': '#/definitions/SetStatus'},
782 'Result': {'$ref': '#/definitions/ErrorResults'}},
783 'type': 'object'},
784 'WatchAPIHostPorts': {'properties': {'Result': {'$ref': '#/definitions/NotifyWatchResult'}},
785 'type': 'object'},
786 'WatchAllContainers': {'properties': {'Params': {'$ref': '#/definitions/WatchContainers'},
787 'Result': {'$ref': '#/definitions/StringsWatchResults'}},
788 'type': 'object'},
789 'WatchContainers': {'properties': {'Params': {'$ref': '#/definitions/WatchContainers'},
790 'Result': {'$ref': '#/definitions/StringsWatchResults'}},
791 'type': 'object'},
792 'WatchContainersCharmProfiles': {'properties': {'Params': {'$ref': '#/definitions/WatchContainers'},
793 'Result': {'$ref': '#/definitions/StringsWatchResults'}},
794 'type': 'object'},
795 'WatchForModelConfigChanges': {'properties': {'Result': {'$ref': '#/definitions/NotifyWatchResult'}},
796 'type': 'object'},
797 'WatchMachineErrorRetry': {'properties': {'Result': {'$ref': '#/definitions/NotifyWatchResult'}},
798 'type': 'object'},
799 'WatchModelMachines': {'properties': {'Result': {'$ref': '#/definitions/StringsWatchResult'}},
800 'type': 'object'},
801 'WatchModelMachinesCharmProfiles': {'properties': {'Result': {'$ref': '#/definitions/StringsWatchResult'}},
802 'type': 'object'}},
803 'type': 'object'}
804
805
806 @ReturnMapping(StringsResult)
807 async def APIAddresses(self):
808 '''
809
810 Returns -> typing.Union[_ForwardRef('Error'), typing.Sequence[str]]
811 '''
812 # map input types to rpc msg
813 _params = dict()
814 msg = dict(type='Provisioner',
815 request='APIAddresses',
816 version=7,
817 params=_params)
818
819 reply = await self.rpc(msg)
820 return reply
821
822
823
824 @ReturnMapping(APIHostPortsResult)
825 async def APIHostPorts(self):
826 '''
827
828 Returns -> typing.Sequence[~HostPort]
829 '''
830 # map input types to rpc msg
831 _params = dict()
832 msg = dict(type='Provisioner',
833 request='APIHostPorts',
834 version=7,
835 params=_params)
836
837 reply = await self.rpc(msg)
838 return reply
839
840
841
842 @ReturnMapping(StringResults)
843 async def AvailabilityZone(self, entities):
844 '''
845 entities : typing.Sequence[~Entity]
846 Returns -> typing.Sequence[~StringResult]
847 '''
848 # map input types to rpc msg
849 _params = dict()
850 msg = dict(type='Provisioner',
851 request='AvailabilityZone',
852 version=7,
853 params=_params)
854 _params['entities'] = entities
855 reply = await self.rpc(msg)
856 return reply
857
858
859
860 @ReturnMapping(BytesResult)
861 async def CACert(self):
862 '''
863
864 Returns -> typing.Sequence[int]
865 '''
866 # map input types to rpc msg
867 _params = dict()
868 msg = dict(type='Provisioner',
869 request='CACert',
870 version=7,
871 params=_params)
872
873 reply = await self.rpc(msg)
874 return reply
875
876
877
878 @ReturnMapping(ProfileChangeResults)
879 async def CharmProfileChangeInfo(self, entities):
880 '''
881 entities : typing.Sequence[~Entity]
882 Returns -> typing.Sequence[~ProfileChangeResult]
883 '''
884 # map input types to rpc msg
885 _params = dict()
886 msg = dict(type='Provisioner',
887 request='CharmProfileChangeInfo',
888 version=7,
889 params=_params)
890 _params['entities'] = entities
891 reply = await self.rpc(msg)
892 return reply
893
894
895
896 @ReturnMapping(ConstraintsResults)
897 async def Constraints(self, entities):
898 '''
899 entities : typing.Sequence[~Entity]
900 Returns -> typing.Sequence[~ConstraintsResult]
901 '''
902 # map input types to rpc msg
903 _params = dict()
904 msg = dict(type='Provisioner',
905 request='Constraints',
906 version=7,
907 params=_params)
908 _params['entities'] = entities
909 reply = await self.rpc(msg)
910 return reply
911
912
913
914 @ReturnMapping(ContainerConfig)
915 async def ContainerConfig(self):
916 '''
917
918 Returns -> typing.Union[_ForwardRef('UpdateBehavior'), str, _ForwardRef('Settings'), bool]
919 '''
920 # map input types to rpc msg
921 _params = dict()
922 msg = dict(type='Provisioner',
923 request='ContainerConfig',
924 version=7,
925 params=_params)
926
927 reply = await self.rpc(msg)
928 return reply
929
930
931
932 @ReturnMapping(ContainerManagerConfig)
933 async def ContainerManagerConfig(self, type_):
934 '''
935 type_ : str
936 Returns -> typing.Mapping[str, str]
937 '''
938 # map input types to rpc msg
939 _params = dict()
940 msg = dict(type='Provisioner',
941 request='ContainerManagerConfig',
942 version=7,
943 params=_params)
944 _params['type'] = type_
945 reply = await self.rpc(msg)
946 return reply
947
948
949
950 @ReturnMapping(ControllerAPIInfoResults)
951 async def ControllerAPIInfoForModels(self, entities):
952 '''
953 entities : typing.Sequence[~Entity]
954 Returns -> typing.Sequence[~ControllerAPIInfoResult]
955 '''
956 # map input types to rpc msg
957 _params = dict()
958 msg = dict(type='Provisioner',
959 request='ControllerAPIInfoForModels',
960 version=7,
961 params=_params)
962 _params['entities'] = entities
963 reply = await self.rpc(msg)
964 return reply
965
966
967
968 @ReturnMapping(ControllerConfigResult)
969 async def ControllerConfig(self):
970 '''
971
972 Returns -> typing.Mapping[str, typing.Any]
973 '''
974 # map input types to rpc msg
975 _params = dict()
976 msg = dict(type='Provisioner',
977 request='ControllerConfig',
978 version=7,
979 params=_params)
980
981 reply = await self.rpc(msg)
982 return reply
983
984
985
986 @ReturnMapping(DistributionGroupResults)
987 async def DistributionGroup(self, entities):
988 '''
989 entities : typing.Sequence[~Entity]
990 Returns -> typing.Sequence[~DistributionGroupResult]
991 '''
992 # map input types to rpc msg
993 _params = dict()
994 msg = dict(type='Provisioner',
995 request='DistributionGroup',
996 version=7,
997 params=_params)
998 _params['entities'] = entities
999 reply = await self.rpc(msg)
1000 return reply
1001
1002
1003
1004 @ReturnMapping(StringsResults)
1005 async def DistributionGroupByMachineId(self, entities):
1006 '''
1007 entities : typing.Sequence[~Entity]
1008 Returns -> typing.Sequence[~StringsResult]
1009 '''
1010 # map input types to rpc msg
1011 _params = dict()
1012 msg = dict(type='Provisioner',
1013 request='DistributionGroupByMachineId',
1014 version=7,
1015 params=_params)
1016 _params['entities'] = entities
1017 reply = await self.rpc(msg)
1018 return reply
1019
1020
1021
1022 @ReturnMapping(ErrorResults)
1023 async def EnsureDead(self, entities):
1024 '''
1025 entities : typing.Sequence[~Entity]
1026 Returns -> typing.Sequence[~ErrorResult]
1027 '''
1028 # map input types to rpc msg
1029 _params = dict()
1030 msg = dict(type='Provisioner',
1031 request='EnsureDead',
1032 version=7,
1033 params=_params)
1034 _params['entities'] = entities
1035 reply = await self.rpc(msg)
1036 return reply
1037
1038
1039
1040 @ReturnMapping(FindToolsResult)
1041 async def FindTools(self, arch, major, minor, number, series):
1042 '''
1043 arch : str
1044 major : int
1045 minor : int
1046 number : Number
1047 series : str
1048 Returns -> typing.Union[_ForwardRef('Error'), typing.Sequence[~Tools]]
1049 '''
1050 # map input types to rpc msg
1051 _params = dict()
1052 msg = dict(type='Provisioner',
1053 request='FindTools',
1054 version=7,
1055 params=_params)
1056 _params['arch'] = arch
1057 _params['major'] = major
1058 _params['minor'] = minor
1059 _params['number'] = number
1060 _params['series'] = series
1061 reply = await self.rpc(msg)
1062 return reply
1063
1064
1065
1066 @ReturnMapping(MachineNetworkConfigResults)
1067 async def GetContainerInterfaceInfo(self, entities):
1068 '''
1069 entities : typing.Sequence[~Entity]
1070 Returns -> typing.Sequence[~MachineNetworkConfigResult]
1071 '''
1072 # map input types to rpc msg
1073 _params = dict()
1074 msg = dict(type='Provisioner',
1075 request='GetContainerInterfaceInfo',
1076 version=7,
1077 params=_params)
1078 _params['entities'] = entities
1079 reply = await self.rpc(msg)
1080 return reply
1081
1082
1083
1084 @ReturnMapping(ContainerProfileResults)
1085 async def GetContainerProfileInfo(self, entities):
1086 '''
1087 entities : typing.Sequence[~Entity]
1088 Returns -> typing.Sequence[~ContainerProfileResult]
1089 '''
1090 # map input types to rpc msg
1091 _params = dict()
1092 msg = dict(type='Provisioner',
1093 request='GetContainerProfileInfo',
1094 version=7,
1095 params=_params)
1096 _params['entities'] = entities
1097 reply = await self.rpc(msg)
1098 return reply
1099
1100
1101
1102 @ReturnMapping(HostNetworkChangeResults)
1103 async def HostChangesForContainers(self, entities):
1104 '''
1105 entities : typing.Sequence[~Entity]
1106 Returns -> typing.Sequence[~HostNetworkChange]
1107 '''
1108 # map input types to rpc msg
1109 _params = dict()
1110 msg = dict(type='Provisioner',
1111 request='HostChangesForContainers',
1112 version=7,
1113 params=_params)
1114 _params['entities'] = entities
1115 reply = await self.rpc(msg)
1116 return reply
1117
1118
1119
1120 @ReturnMapping(StringResults)
1121 async def InstanceId(self, entities):
1122 '''
1123 entities : typing.Sequence[~Entity]
1124 Returns -> typing.Sequence[~StringResult]
1125 '''
1126 # map input types to rpc msg
1127 _params = dict()
1128 msg = dict(type='Provisioner',
1129 request='InstanceId',
1130 version=7,
1131 params=_params)
1132 _params['entities'] = entities
1133 reply = await self.rpc(msg)
1134 return reply
1135
1136
1137
1138 @ReturnMapping(StatusResults)
1139 async def InstanceStatus(self, entities):
1140 '''
1141 entities : typing.Sequence[~Entity]
1142 Returns -> typing.Sequence[~StatusResult]
1143 '''
1144 # map input types to rpc msg
1145 _params = dict()
1146 msg = dict(type='Provisioner',
1147 request='InstanceStatus',
1148 version=7,
1149 params=_params)
1150 _params['entities'] = entities
1151 reply = await self.rpc(msg)
1152 return reply
1153
1154
1155
1156 @ReturnMapping(BoolResults)
1157 async def KeepInstance(self, entities):
1158 '''
1159 entities : typing.Sequence[~Entity]
1160 Returns -> typing.Sequence[~BoolResult]
1161 '''
1162 # map input types to rpc msg
1163 _params = dict()
1164 msg = dict(type='Provisioner',
1165 request='KeepInstance',
1166 version=7,
1167 params=_params)
1168 _params['entities'] = entities
1169 reply = await self.rpc(msg)
1170 return reply
1171
1172
1173
1174 @ReturnMapping(LifeResults)
1175 async def Life(self, entities):
1176 '''
1177 entities : typing.Sequence[~Entity]
1178 Returns -> typing.Sequence[~LifeResult]
1179 '''
1180 # map input types to rpc msg
1181 _params = dict()
1182 msg = dict(type='Provisioner',
1183 request='Life',
1184 version=7,
1185 params=_params)
1186 _params['entities'] = entities
1187 reply = await self.rpc(msg)
1188 return reply
1189
1190
1191
1192 @ReturnMapping(StatusResults)
1193 async def MachinesWithTransientErrors(self):
1194 '''
1195
1196 Returns -> typing.Sequence[~StatusResult]
1197 '''
1198 # map input types to rpc msg
1199 _params = dict()
1200 msg = dict(type='Provisioner',
1201 request='MachinesWithTransientErrors',
1202 version=7,
1203 params=_params)
1204
1205 reply = await self.rpc(msg)
1206 return reply
1207
1208
1209
1210 @ReturnMapping(ErrorResults)
1211 async def MarkMachinesForRemoval(self, entities):
1212 '''
1213 entities : typing.Sequence[~Entity]
1214 Returns -> typing.Sequence[~ErrorResult]
1215 '''
1216 # map input types to rpc msg
1217 _params = dict()
1218 msg = dict(type='Provisioner',
1219 request='MarkMachinesForRemoval',
1220 version=7,
1221 params=_params)
1222 _params['entities'] = entities
1223 reply = await self.rpc(msg)
1224 return reply
1225
1226
1227
1228 @ReturnMapping(ModelConfigResult)
1229 async def ModelConfig(self):
1230 '''
1231
1232 Returns -> typing.Mapping[str, typing.Any]
1233 '''
1234 # map input types to rpc msg
1235 _params = dict()
1236 msg = dict(type='Provisioner',
1237 request='ModelConfig',
1238 version=7,
1239 params=_params)
1240
1241 reply = await self.rpc(msg)
1242 return reply
1243
1244
1245
1246 @ReturnMapping(StringResult)
1247 async def ModelUUID(self):
1248 '''
1249
1250 Returns -> typing.Union[_ForwardRef('Error'), str]
1251 '''
1252 # map input types to rpc msg
1253 _params = dict()
1254 msg = dict(type='Provisioner',
1255 request='ModelUUID',
1256 version=7,
1257 params=_params)
1258
1259 reply = await self.rpc(msg)
1260 return reply
1261
1262
1263
1264 @ReturnMapping(MachineNetworkConfigResults)
1265 async def PrepareContainerInterfaceInfo(self, entities):
1266 '''
1267 entities : typing.Sequence[~Entity]
1268 Returns -> typing.Sequence[~MachineNetworkConfigResult]
1269 '''
1270 # map input types to rpc msg
1271 _params = dict()
1272 msg = dict(type='Provisioner',
1273 request='PrepareContainerInterfaceInfo',
1274 version=7,
1275 params=_params)
1276 _params['entities'] = entities
1277 reply = await self.rpc(msg)
1278 return reply
1279
1280
1281
1282 @ReturnMapping(ProvisioningInfoResults)
1283 async def ProvisioningInfo(self, entities):
1284 '''
1285 entities : typing.Sequence[~Entity]
1286 Returns -> typing.Sequence[~ProvisioningInfoResult]
1287 '''
1288 # map input types to rpc msg
1289 _params = dict()
1290 msg = dict(type='Provisioner',
1291 request='ProvisioningInfo',
1292 version=7,
1293 params=_params)
1294 _params['entities'] = entities
1295 reply = await self.rpc(msg)
1296 return reply
1297
1298
1299
1300 @ReturnMapping(ErrorResults)
1301 async def ReleaseContainerAddresses(self, entities):
1302 '''
1303 entities : typing.Sequence[~Entity]
1304 Returns -> typing.Sequence[~ErrorResult]
1305 '''
1306 # map input types to rpc msg
1307 _params = dict()
1308 msg = dict(type='Provisioner',
1309 request='ReleaseContainerAddresses',
1310 version=7,
1311 params=_params)
1312 _params['entities'] = entities
1313 reply = await self.rpc(msg)
1314 return reply
1315
1316
1317
1318 @ReturnMapping(ErrorResults)
1319 async def Remove(self, entities):
1320 '''
1321 entities : typing.Sequence[~Entity]
1322 Returns -> typing.Sequence[~ErrorResult]
1323 '''
1324 # map input types to rpc msg
1325 _params = dict()
1326 msg = dict(type='Provisioner',
1327 request='Remove',
1328 version=7,
1329 params=_params)
1330 _params['entities'] = entities
1331 reply = await self.rpc(msg)
1332 return reply
1333
1334
1335
1336 @ReturnMapping(ErrorResults)
1337 async def RemoveUpgradeCharmProfileData(self, entities):
1338 '''
1339 entities : typing.Sequence[~Entity]
1340 Returns -> typing.Sequence[~ErrorResult]
1341 '''
1342 # map input types to rpc msg
1343 _params = dict()
1344 msg = dict(type='Provisioner',
1345 request='RemoveUpgradeCharmProfileData',
1346 version=7,
1347 params=_params)
1348 _params['entities'] = entities
1349 reply = await self.rpc(msg)
1350 return reply
1351
1352
1353
1354 @ReturnMapping(StringResults)
1355 async def Series(self, entities):
1356 '''
1357 entities : typing.Sequence[~Entity]
1358 Returns -> typing.Sequence[~StringResult]
1359 '''
1360 # map input types to rpc msg
1361 _params = dict()
1362 msg = dict(type='Provisioner',
1363 request='Series',
1364 version=7,
1365 params=_params)
1366 _params['entities'] = entities
1367 reply = await self.rpc(msg)
1368 return reply
1369
1370
1371
1372 @ReturnMapping(ErrorResults)
1373 async def SetCharmProfiles(self, args):
1374 '''
1375 args : typing.Sequence[~SetProfileArg]
1376 Returns -> typing.Sequence[~ErrorResult]
1377 '''
1378 # map input types to rpc msg
1379 _params = dict()
1380 msg = dict(type='Provisioner',
1381 request='SetCharmProfiles',
1382 version=7,
1383 params=_params)
1384 _params['args'] = args
1385 reply = await self.rpc(msg)
1386 return reply
1387
1388
1389
1390 @ReturnMapping(None)
1391 async def SetHostMachineNetworkConfig(self, config, tag):
1392 '''
1393 config : typing.Sequence[~NetworkConfig]
1394 tag : str
1395 Returns -> None
1396 '''
1397 # map input types to rpc msg
1398 _params = dict()
1399 msg = dict(type='Provisioner',
1400 request='SetHostMachineNetworkConfig',
1401 version=7,
1402 params=_params)
1403 _params['config'] = config
1404 _params['tag'] = tag
1405 reply = await self.rpc(msg)
1406 return reply
1407
1408
1409
1410 @ReturnMapping(ErrorResults)
1411 async def SetInstanceInfo(self, machines):
1412 '''
1413 machines : typing.Sequence[~InstanceInfo]
1414 Returns -> typing.Sequence[~ErrorResult]
1415 '''
1416 # map input types to rpc msg
1417 _params = dict()
1418 msg = dict(type='Provisioner',
1419 request='SetInstanceInfo',
1420 version=7,
1421 params=_params)
1422 _params['machines'] = machines
1423 reply = await self.rpc(msg)
1424 return reply
1425
1426
1427
1428 @ReturnMapping(ErrorResults)
1429 async def SetInstanceStatus(self, entities):
1430 '''
1431 entities : typing.Sequence[~EntityStatusArgs]
1432 Returns -> typing.Sequence[~ErrorResult]
1433 '''
1434 # map input types to rpc msg
1435 _params = dict()
1436 msg = dict(type='Provisioner',
1437 request='SetInstanceStatus',
1438 version=7,
1439 params=_params)
1440 _params['entities'] = entities
1441 reply = await self.rpc(msg)
1442 return reply
1443
1444
1445
1446 @ReturnMapping(None)
1447 async def SetObservedNetworkConfig(self, config, tag):
1448 '''
1449 config : typing.Sequence[~NetworkConfig]
1450 tag : str
1451 Returns -> None
1452 '''
1453 # map input types to rpc msg
1454 _params = dict()
1455 msg = dict(type='Provisioner',
1456 request='SetObservedNetworkConfig',
1457 version=7,
1458 params=_params)
1459 _params['config'] = config
1460 _params['tag'] = tag
1461 reply = await self.rpc(msg)
1462 return reply
1463
1464
1465
1466 @ReturnMapping(ErrorResults)
1467 async def SetPasswords(self, changes):
1468 '''
1469 changes : typing.Sequence[~EntityPassword]
1470 Returns -> typing.Sequence[~ErrorResult]
1471 '''
1472 # map input types to rpc msg
1473 _params = dict()
1474 msg = dict(type='Provisioner',
1475 request='SetPasswords',
1476 version=7,
1477 params=_params)
1478 _params['changes'] = changes
1479 reply = await self.rpc(msg)
1480 return reply
1481
1482
1483
1484 @ReturnMapping(ErrorResults)
1485 async def SetProviderNetworkConfig(self, entities):
1486 '''
1487 entities : typing.Sequence[~Entity]
1488 Returns -> typing.Sequence[~ErrorResult]
1489 '''
1490 # map input types to rpc msg
1491 _params = dict()
1492 msg = dict(type='Provisioner',
1493 request='SetProviderNetworkConfig',
1494 version=7,
1495 params=_params)
1496 _params['entities'] = entities
1497 reply = await self.rpc(msg)
1498 return reply
1499
1500
1501
1502 @ReturnMapping(ErrorResults)
1503 async def SetStatus(self, entities):
1504 '''
1505 entities : typing.Sequence[~EntityStatusArgs]
1506 Returns -> typing.Sequence[~ErrorResult]
1507 '''
1508 # map input types to rpc msg
1509 _params = dict()
1510 msg = dict(type='Provisioner',
1511 request='SetStatus',
1512 version=7,
1513 params=_params)
1514 _params['entities'] = entities
1515 reply = await self.rpc(msg)
1516 return reply
1517
1518
1519
1520 @ReturnMapping(ErrorResults)
1521 async def SetSupportedContainers(self, params):
1522 '''
1523 params : typing.Sequence[~MachineContainers]
1524 Returns -> typing.Sequence[~ErrorResult]
1525 '''
1526 # map input types to rpc msg
1527 _params = dict()
1528 msg = dict(type='Provisioner',
1529 request='SetSupportedContainers',
1530 version=7,
1531 params=_params)
1532 _params['params'] = params
1533 reply = await self.rpc(msg)
1534 return reply
1535
1536
1537
1538 @ReturnMapping(ErrorResults)
1539 async def SetUpgradeCharmProfileComplete(self, args):
1540 '''
1541 args : typing.Sequence[~SetProfileUpgradeCompleteArg]
1542 Returns -> typing.Sequence[~ErrorResult]
1543 '''
1544 # map input types to rpc msg
1545 _params = dict()
1546 msg = dict(type='Provisioner',
1547 request='SetUpgradeCharmProfileComplete',
1548 version=7,
1549 params=_params)
1550 _params['args'] = args
1551 reply = await self.rpc(msg)
1552 return reply
1553
1554
1555
1556 @ReturnMapping(StringsResult)
1557 async def StateAddresses(self):
1558 '''
1559
1560 Returns -> typing.Union[_ForwardRef('Error'), typing.Sequence[str]]
1561 '''
1562 # map input types to rpc msg
1563 _params = dict()
1564 msg = dict(type='Provisioner',
1565 request='StateAddresses',
1566 version=7,
1567 params=_params)
1568
1569 reply = await self.rpc(msg)
1570 return reply
1571
1572
1573
1574 @ReturnMapping(StatusResults)
1575 async def Status(self, entities):
1576 '''
1577 entities : typing.Sequence[~Entity]
1578 Returns -> typing.Sequence[~StatusResult]
1579 '''
1580 # map input types to rpc msg
1581 _params = dict()
1582 msg = dict(type='Provisioner',
1583 request='Status',
1584 version=7,
1585 params=_params)
1586 _params['entities'] = entities
1587 reply = await self.rpc(msg)
1588 return reply
1589
1590
1591
1592 @ReturnMapping(ToolsResults)
1593 async def Tools(self, entities):
1594 '''
1595 entities : typing.Sequence[~Entity]
1596 Returns -> typing.Sequence[~ToolsResult]
1597 '''
1598 # map input types to rpc msg
1599 _params = dict()
1600 msg = dict(type='Provisioner',
1601 request='Tools',
1602 version=7,
1603 params=_params)
1604 _params['entities'] = entities
1605 reply = await self.rpc(msg)
1606 return reply
1607
1608
1609
1610 @ReturnMapping(ErrorResults)
1611 async def UpdateStatus(self, entities):
1612 '''
1613 entities : typing.Sequence[~EntityStatusArgs]
1614 Returns -> typing.Sequence[~ErrorResult]
1615 '''
1616 # map input types to rpc msg
1617 _params = dict()
1618 msg = dict(type='Provisioner',
1619 request='UpdateStatus',
1620 version=7,
1621 params=_params)
1622 _params['entities'] = entities
1623 reply = await self.rpc(msg)
1624 return reply
1625
1626
1627
1628 @ReturnMapping(NotifyWatchResult)
1629 async def WatchAPIHostPorts(self):
1630 '''
1631
1632 Returns -> typing.Union[str, _ForwardRef('Error')]
1633 '''
1634 # map input types to rpc msg
1635 _params = dict()
1636 msg = dict(type='Provisioner',
1637 request='WatchAPIHostPorts',
1638 version=7,
1639 params=_params)
1640
1641 reply = await self.rpc(msg)
1642 return reply
1643
1644
1645
1646 @ReturnMapping(StringsWatchResults)
1647 async def WatchAllContainers(self, params):
1648 '''
1649 params : typing.Sequence[~WatchContainer]
1650 Returns -> typing.Sequence[~StringsWatchResult]
1651 '''
1652 # map input types to rpc msg
1653 _params = dict()
1654 msg = dict(type='Provisioner',
1655 request='WatchAllContainers',
1656 version=7,
1657 params=_params)
1658 _params['params'] = params
1659 reply = await self.rpc(msg)
1660 return reply
1661
1662
1663
1664 @ReturnMapping(StringsWatchResults)
1665 async def WatchContainers(self, params):
1666 '''
1667 params : typing.Sequence[~WatchContainer]
1668 Returns -> typing.Sequence[~StringsWatchResult]
1669 '''
1670 # map input types to rpc msg
1671 _params = dict()
1672 msg = dict(type='Provisioner',
1673 request='WatchContainers',
1674 version=7,
1675 params=_params)
1676 _params['params'] = params
1677 reply = await self.rpc(msg)
1678 return reply
1679
1680
1681
1682 @ReturnMapping(StringsWatchResults)
1683 async def WatchContainersCharmProfiles(self, params):
1684 '''
1685 params : typing.Sequence[~WatchContainer]
1686 Returns -> typing.Sequence[~StringsWatchResult]
1687 '''
1688 # map input types to rpc msg
1689 _params = dict()
1690 msg = dict(type='Provisioner',
1691 request='WatchContainersCharmProfiles',
1692 version=7,
1693 params=_params)
1694 _params['params'] = params
1695 reply = await self.rpc(msg)
1696 return reply
1697
1698
1699
1700 @ReturnMapping(NotifyWatchResult)
1701 async def WatchForModelConfigChanges(self):
1702 '''
1703
1704 Returns -> typing.Union[str, _ForwardRef('Error')]
1705 '''
1706 # map input types to rpc msg
1707 _params = dict()
1708 msg = dict(type='Provisioner',
1709 request='WatchForModelConfigChanges',
1710 version=7,
1711 params=_params)
1712
1713 reply = await self.rpc(msg)
1714 return reply
1715
1716
1717
1718 @ReturnMapping(NotifyWatchResult)
1719 async def WatchMachineErrorRetry(self):
1720 '''
1721
1722 Returns -> typing.Union[str, _ForwardRef('Error')]
1723 '''
1724 # map input types to rpc msg
1725 _params = dict()
1726 msg = dict(type='Provisioner',
1727 request='WatchMachineErrorRetry',
1728 version=7,
1729 params=_params)
1730
1731 reply = await self.rpc(msg)
1732 return reply
1733
1734
1735
1736 @ReturnMapping(StringsWatchResult)
1737 async def WatchModelMachines(self):
1738 '''
1739
1740 Returns -> typing.Union[typing.Sequence[str], _ForwardRef('Error'), str]
1741 '''
1742 # map input types to rpc msg
1743 _params = dict()
1744 msg = dict(type='Provisioner',
1745 request='WatchModelMachines',
1746 version=7,
1747 params=_params)
1748
1749 reply = await self.rpc(msg)
1750 return reply
1751
1752
1753
1754 @ReturnMapping(StringsWatchResult)
1755 async def WatchModelMachinesCharmProfiles(self):
1756 '''
1757
1758 Returns -> typing.Union[typing.Sequence[str], _ForwardRef('Error'), str]
1759 '''
1760 # map input types to rpc msg
1761 _params = dict()
1762 msg = dict(type='Provisioner',
1763 request='WatchModelMachinesCharmProfiles',
1764 version=7,
1765 params=_params)
1766
1767 reply = await self.rpc(msg)
1768 return reply
1769
1770