foreman_api 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +35 -18
- data/doc/ForemanApi/Resources/Architecture.html +93 -136
- data/doc/ForemanApi/Resources/Audit.html +42 -60
- data/doc/ForemanApi/Resources/AuthSourceLdap.html +129 -190
- data/doc/ForemanApi/Resources/Bookmark.html +97 -142
- data/doc/ForemanApi/Resources/CommonParameter.html +93 -136
- data/doc/ForemanApi/Resources/ComputeResource.html +131 -190
- data/doc/ForemanApi/Resources/ConfigTemplate.html +145 -211
- data/doc/ForemanApi/Resources/Dashboard.html +21 -29
- data/doc/ForemanApi/Resources/Domain.html +103 -151
- data/doc/ForemanApi/Resources/Environment.html +89 -130
- data/doc/ForemanApi/Resources/FactValue.html +29 -41
- data/doc/ForemanApi/Resources/Home.html +32 -45
- data/doc/ForemanApi/Resources/Host.html +317 -251
- data/doc/ForemanApi/Resources/HostClass.html +55 -79
- data/doc/ForemanApi/Resources/Hostgroup.html +125 -184
- data/doc/ForemanApi/Resources/HostgroupClass.html +57 -82
- data/doc/ForemanApi/Resources/Image.html +109 -160
- data/doc/ForemanApi/Resources/Location.html +937 -0
- data/doc/ForemanApi/Resources/LookupKey.html +111 -163
- data/doc/ForemanApi/Resources/Medium.html +113 -154
- data/doc/ForemanApi/Resources/Model.html +101 -148
- data/doc/ForemanApi/Resources/OperatingSystem.html +118 -173
- data/doc/ForemanApi/Resources/Organization.html +937 -0
- data/doc/ForemanApi/Resources/Parameter.html +158 -233
- data/doc/ForemanApi/Resources/Ptable.html +97 -142
- data/doc/ForemanApi/Resources/Puppetclass.html +95 -139
- data/doc/ForemanApi/Resources/Report.html +68 -98
- data/doc/ForemanApi/Resources/Role.html +85 -124
- data/doc/ForemanApi/Resources/Setting.html +58 -84
- data/doc/ForemanApi/Resources/SmartProxy.html +91 -133
- data/doc/ForemanApi/Resources/Subnet.html +141 -208
- data/doc/ForemanApi/Resources/TemplateCombination.html +65 -94
- data/doc/ForemanApi/Resources/TemplateKind.html +23 -32
- data/doc/ForemanApi/Resources/User.html +111 -163
- data/doc/ForemanApi/Resources/Usergroup.html +89 -130
- data/doc/ForemanApi/Resources.html +6 -6
- data/doc/ForemanApi.html +5 -5
- data/doc/_index.html +18 -4
- data/doc/class_list.html +1 -1
- data/doc/css/style.css +0 -10
- data/doc/file.MIT-LICENSE.html +24 -29
- data/doc/file.README.html +81 -60
- data/doc/frames.html +1 -1
- data/doc/index.html +81 -60
- data/doc/method_list.html +416 -312
- data/doc/top-level-namespace.html +3 -3
- data/lib/foreman_api/base.rb +16 -8
- data/lib/foreman_api/documentation.json +1 -1
- data/lib/foreman_api/resources/host.rb +9 -0
- data/lib/foreman_api/resources/location.rb +59 -0
- data/lib/foreman_api/resources/medium.rb +2 -2
- data/lib/foreman_api/resources/organization.rb +59 -0
- data/lib/foreman_api/version.rb +1 -1
- metadata +7 -3
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: ForemanApi::Resources::ComputeResource
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.
|
9
|
+
— Documentation by YARD 0.8.3
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -164,9 +164,8 @@
|
|
164
164
|
|
165
165
|
|
166
166
|
|
167
|
-
<span class="summary_desc"><div class='inline'
|
168
|
-
First item: parsed data; second item: raw body
|
169
|
-
</p>
|
167
|
+
<span class="summary_desc"><div class='inline'>
|
168
|
+
<p>First item: parsed data; second item: raw body.</p>
|
170
169
|
</div></span>
|
171
170
|
|
172
171
|
</li>
|
@@ -189,9 +188,8 @@ First item: parsed data; second item: raw body.
|
|
189
188
|
|
190
189
|
|
191
190
|
|
192
|
-
<span class="summary_desc"><div class='inline'
|
193
|
-
First item: parsed data; second item: raw body
|
194
|
-
</p>
|
191
|
+
<span class="summary_desc"><div class='inline'>
|
192
|
+
<p>First item: parsed data; second item: raw body.</p>
|
195
193
|
</div></span>
|
196
194
|
|
197
195
|
</li>
|
@@ -214,9 +212,8 @@ First item: parsed data; second item: raw body.
|
|
214
212
|
|
215
213
|
|
216
214
|
|
217
|
-
<span class="summary_desc"><div class='inline'
|
218
|
-
First item: parsed data; second item: raw body
|
219
|
-
</p>
|
215
|
+
<span class="summary_desc"><div class='inline'>
|
216
|
+
<p>First item: parsed data; second item: raw body.</p>
|
220
217
|
</div></span>
|
221
218
|
|
222
219
|
</li>
|
@@ -239,9 +236,8 @@ First item: parsed data; second item: raw body.
|
|
239
236
|
|
240
237
|
|
241
238
|
|
242
|
-
<span class="summary_desc"><div class='inline'
|
243
|
-
First item: parsed data; second item: raw body
|
244
|
-
</p>
|
239
|
+
<span class="summary_desc"><div class='inline'>
|
240
|
+
<p>First item: parsed data; second item: raw body.</p>
|
245
241
|
</div></span>
|
246
242
|
|
247
243
|
</li>
|
@@ -264,9 +260,8 @@ First item: parsed data; second item: raw body.
|
|
264
260
|
|
265
261
|
|
266
262
|
|
267
|
-
<span class="summary_desc"><div class='inline'
|
268
|
-
First item: parsed data; second item: raw body
|
269
|
-
</p>
|
263
|
+
<span class="summary_desc"><div class='inline'>
|
264
|
+
<p>First item: parsed data; second item: raw body.</p>
|
270
265
|
</div></span>
|
271
266
|
|
272
267
|
</li>
|
@@ -304,10 +299,9 @@ First item: parsed data; second item: raw body.
|
|
304
299
|
<td>
|
305
300
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/compute_resource.rb', line 4</span>
|
306
301
|
|
307
|
-
<span class='
|
308
|
-
<span class='
|
309
|
-
<span class='
|
310
|
-
</pre>
|
302
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_doc'>doc</span>
|
303
|
+
<span class='ivar'>@doc</span> <span class='op'>||=</span> <span class='const'>ForemanApi</span><span class='period'>.</span><span class='id identifier rubyid_doc'>doc</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>resources</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>compute_resources</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span>
|
304
|
+
<span class='kw'>end</span></pre>
|
311
305
|
</td>
|
312
306
|
</tr>
|
313
307
|
</table>
|
@@ -330,9 +324,8 @@ First item: parsed data; second item: raw body.
|
|
330
324
|
|
331
325
|
</h3><div class="docstring">
|
332
326
|
<div class="discussion">
|
333
|
-
|
334
|
-
First item: parsed data; second item: raw body
|
335
|
-
</p>
|
327
|
+
|
328
|
+
<p>First item: parsed data; second item: raw body</p>
|
336
329
|
|
337
330
|
|
338
331
|
</div>
|
@@ -353,9 +346,8 @@ First item: parsed data; second item: raw body
|
|
353
346
|
|
354
347
|
|
355
348
|
—
|
356
|
-
<div class='inline'
|
357
|
-
a hash of params to be passed to the service
|
358
|
-
</p>
|
349
|
+
<div class='inline'>
|
350
|
+
<p>a hash of params to be passed to the service</p>
|
359
351
|
</div>
|
360
352
|
|
361
353
|
</li>
|
@@ -372,9 +364,8 @@ a hash of params to be passed to the service
|
|
372
364
|
|
373
365
|
|
374
366
|
—
|
375
|
-
<div class='inline'
|
376
|
-
additional http headers
|
377
|
-
</p>
|
367
|
+
<div class='inline'>
|
368
|
+
<p>additional http headers</p>
|
378
369
|
</div>
|
379
370
|
|
380
371
|
</li>
|
@@ -394,44 +385,32 @@ additional http headers
|
|
394
385
|
|
395
386
|
</span>
|
396
387
|
|
397
|
-
— <div class='inline'
|
398
|
-
allowed keys are
|
399
|
-
|
400
|
-
<
|
401
|
-
|
402
|
-
|
403
|
-
</li>
|
404
|
-
<
|
405
|
-
|
406
|
-
</li>
|
407
|
-
<
|
408
|
-
|
409
|
-
|
410
|
-
</
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
</
|
415
|
-
|
416
|
-
|
417
|
-
</li>
|
418
|
-
<
|
419
|
-
|
420
|
-
</li>
|
421
|
-
<
|
422
|
-
|
423
|
-
</li>
|
424
|
-
<li>url [String] Url for libvirt, ovirt, and openstack
|
425
|
-
|
426
|
-
</li>
|
427
|
-
<li>user [String] Username for ovirt, ec2, vmware, openstack. access key for
|
428
|
-
ec2.
|
429
|
-
|
430
|
-
</li>
|
431
|
-
<li>uuid [String] For ovirt, vmware datacenter
|
432
|
-
|
433
|
-
</li>
|
434
|
-
</ul>
|
388
|
+
— <div class='inline'>
|
389
|
+
<p>allowed keys are:</p>
|
390
|
+
<ul><li>
|
391
|
+
<p>description [String]</p>
|
392
|
+
</li><li>
|
393
|
+
<p>name [String]</p>
|
394
|
+
</li><li>
|
395
|
+
<p>password [String] Password for ovirt, ec2, vmware, openstack. secret key
|
396
|
+
for ec2</p>
|
397
|
+
</li><li>
|
398
|
+
<p>provider [String] Providers include libvirt, ovirt, ec2, vmware, openstack,
|
399
|
+
rackspace</p>
|
400
|
+
</li><li>
|
401
|
+
<p>region [String] For ec2 only</p>
|
402
|
+
</li><li>
|
403
|
+
<p>server [String] For vmware</p>
|
404
|
+
</li><li>
|
405
|
+
<p>tenant [String] For openstack only</p>
|
406
|
+
</li><li>
|
407
|
+
<p>url [String] Url for libvirt, ovirt, and openstack</p>
|
408
|
+
</li><li>
|
409
|
+
<p>user [String] Username for ovirt, ec2, vmware, openstack. access key for
|
410
|
+
ec2.</p>
|
411
|
+
</li><li>
|
412
|
+
<p>uuid [String] For ovirt, vmware datacenter</p>
|
413
|
+
</li></ul>
|
435
414
|
</div>
|
436
415
|
|
437
416
|
</li>
|
@@ -452,9 +431,8 @@ ec2.
|
|
452
431
|
|
453
432
|
|
454
433
|
—
|
455
|
-
<div class='inline'
|
456
|
-
First item: parsed data; second item: raw body
|
457
|
-
</p>
|
434
|
+
<div class='inline'>
|
435
|
+
<p>First item: parsed data; second item: raw body</p>
|
458
436
|
</div>
|
459
437
|
|
460
438
|
</li>
|
@@ -474,10 +452,9 @@ First item: parsed data; second item: raw body
|
|
474
452
|
<td>
|
475
453
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/compute_resource.rb', line 45</span>
|
476
454
|
|
477
|
-
<span class='
|
478
|
-
<span class='
|
479
|
-
<span class='
|
480
|
-
</pre>
|
455
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_create'>create</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
456
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
457
|
+
<span class='kw'>end</span></pre>
|
481
458
|
</td>
|
482
459
|
</tr>
|
483
460
|
</table>
|
@@ -494,9 +471,8 @@ First item: parsed data; second item: raw body
|
|
494
471
|
|
495
472
|
</h3><div class="docstring">
|
496
473
|
<div class="discussion">
|
497
|
-
|
498
|
-
First item: parsed data; second item: raw body
|
499
|
-
</p>
|
474
|
+
|
475
|
+
<p>First item: parsed data; second item: raw body</p>
|
500
476
|
|
501
477
|
|
502
478
|
</div>
|
@@ -517,9 +493,8 @@ First item: parsed data; second item: raw body
|
|
517
493
|
|
518
494
|
|
519
495
|
—
|
520
|
-
<div class='inline'
|
521
|
-
a hash of params to be passed to the service
|
522
|
-
</p>
|
496
|
+
<div class='inline'>
|
497
|
+
<p>a hash of params to be passed to the service</p>
|
523
498
|
</div>
|
524
499
|
|
525
500
|
</li>
|
@@ -536,9 +511,8 @@ a hash of params to be passed to the service
|
|
536
511
|
|
537
512
|
|
538
513
|
—
|
539
|
-
<div class='inline'
|
540
|
-
additional http headers
|
541
|
-
</p>
|
514
|
+
<div class='inline'>
|
515
|
+
<p>additional http headers</p>
|
542
516
|
</div>
|
543
517
|
|
544
518
|
</li>
|
@@ -576,9 +550,8 @@ additional http headers
|
|
576
550
|
|
577
551
|
|
578
552
|
—
|
579
|
-
<div class='inline'
|
580
|
-
First item: parsed data; second item: raw body
|
581
|
-
</p>
|
553
|
+
<div class='inline'>
|
554
|
+
<p>First item: parsed data; second item: raw body</p>
|
582
555
|
</div>
|
583
556
|
|
584
557
|
</li>
|
@@ -598,10 +571,9 @@ First item: parsed data; second item: raw body
|
|
598
571
|
<td>
|
599
572
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/compute_resource.rb', line 75</span>
|
600
573
|
|
601
|
-
<span class='
|
602
|
-
<span class='
|
603
|
-
<span class='
|
604
|
-
</pre>
|
574
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_destroy'>destroy</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
575
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
576
|
+
<span class='kw'>end</span></pre>
|
605
577
|
</td>
|
606
578
|
</tr>
|
607
579
|
</table>
|
@@ -618,9 +590,8 @@ First item: parsed data; second item: raw body
|
|
618
590
|
|
619
591
|
</h3><div class="docstring">
|
620
592
|
<div class="discussion">
|
621
|
-
|
622
|
-
First item: parsed data; second item: raw body
|
623
|
-
</p>
|
593
|
+
|
594
|
+
<p>First item: parsed data; second item: raw body</p>
|
624
595
|
|
625
596
|
|
626
597
|
</div>
|
@@ -641,9 +612,8 @@ First item: parsed data; second item: raw body
|
|
641
612
|
|
642
613
|
|
643
614
|
—
|
644
|
-
<div class='inline'
|
645
|
-
a hash of params to be passed to the service
|
646
|
-
</p>
|
615
|
+
<div class='inline'>
|
616
|
+
<p>a hash of params to be passed to the service</p>
|
647
617
|
</div>
|
648
618
|
|
649
619
|
</li>
|
@@ -660,9 +630,8 @@ a hash of params to be passed to the service
|
|
660
630
|
|
661
631
|
|
662
632
|
—
|
663
|
-
<div class='inline'
|
664
|
-
additional http headers
|
665
|
-
</p>
|
633
|
+
<div class='inline'>
|
634
|
+
<p>additional http headers</p>
|
666
635
|
</div>
|
667
636
|
|
668
637
|
</li>
|
@@ -682,9 +651,8 @@ additional http headers
|
|
682
651
|
|
683
652
|
</span>
|
684
653
|
|
685
|
-
— <div class='inline'
|
686
|
-
Sort results
|
687
|
-
</p>
|
654
|
+
— <div class='inline'>
|
655
|
+
<p>Sort results</p>
|
688
656
|
</div>
|
689
657
|
|
690
658
|
</li>
|
@@ -696,9 +664,8 @@ Sort results
|
|
696
664
|
|
697
665
|
</span>
|
698
666
|
|
699
|
-
— <div class='inline'
|
700
|
-
Paginate results
|
701
|
-
</p>
|
667
|
+
— <div class='inline'>
|
668
|
+
<p>Paginate results</p>
|
702
669
|
</div>
|
703
670
|
|
704
671
|
</li>
|
@@ -710,9 +677,8 @@ Paginate results
|
|
710
677
|
|
711
678
|
</span>
|
712
679
|
|
713
|
-
— <div class='inline'
|
714
|
-
Number of entries per request
|
715
|
-
</p>
|
680
|
+
— <div class='inline'>
|
681
|
+
<p>Number of entries per request</p>
|
716
682
|
</div>
|
717
683
|
|
718
684
|
</li>
|
@@ -724,9 +690,8 @@ Number of entries per request
|
|
724
690
|
|
725
691
|
</span>
|
726
692
|
|
727
|
-
— <div class='inline'
|
728
|
-
Filter results
|
729
|
-
</p>
|
693
|
+
— <div class='inline'>
|
694
|
+
<p>Filter results</p>
|
730
695
|
</div>
|
731
696
|
|
732
697
|
</li>
|
@@ -747,9 +712,8 @@ Filter results
|
|
747
712
|
|
748
713
|
|
749
714
|
—
|
750
|
-
<div class='inline'
|
751
|
-
First item: parsed data; second item: raw body
|
752
|
-
</p>
|
715
|
+
<div class='inline'>
|
716
|
+
<p>First item: parsed data; second item: raw body</p>
|
753
717
|
</div>
|
754
718
|
|
755
719
|
</li>
|
@@ -769,10 +733,9 @@ First item: parsed data; second item: raw body
|
|
769
733
|
<td>
|
770
734
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/compute_resource.rb', line 16</span>
|
771
735
|
|
772
|
-
<span class='
|
773
|
-
<span class='
|
774
|
-
<span class='
|
775
|
-
</pre>
|
736
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_index'>index</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
737
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
738
|
+
<span class='kw'>end</span></pre>
|
776
739
|
</td>
|
777
740
|
</tr>
|
778
741
|
</table>
|
@@ -789,9 +752,8 @@ First item: parsed data; second item: raw body
|
|
789
752
|
|
790
753
|
</h3><div class="docstring">
|
791
754
|
<div class="discussion">
|
792
|
-
|
793
|
-
First item: parsed data; second item: raw body
|
794
|
-
</p>
|
755
|
+
|
756
|
+
<p>First item: parsed data; second item: raw body</p>
|
795
757
|
|
796
758
|
|
797
759
|
</div>
|
@@ -812,9 +774,8 @@ First item: parsed data; second item: raw body
|
|
812
774
|
|
813
775
|
|
814
776
|
—
|
815
|
-
<div class='inline'
|
816
|
-
a hash of params to be passed to the service
|
817
|
-
</p>
|
777
|
+
<div class='inline'>
|
778
|
+
<p>a hash of params to be passed to the service</p>
|
818
779
|
</div>
|
819
780
|
|
820
781
|
</li>
|
@@ -831,9 +792,8 @@ a hash of params to be passed to the service
|
|
831
792
|
|
832
793
|
|
833
794
|
—
|
834
|
-
<div class='inline'
|
835
|
-
additional http headers
|
836
|
-
</p>
|
795
|
+
<div class='inline'>
|
796
|
+
<p>additional http headers</p>
|
837
797
|
</div>
|
838
798
|
|
839
799
|
</li>
|
@@ -871,9 +831,8 @@ additional http headers
|
|
871
831
|
|
872
832
|
|
873
833
|
—
|
874
|
-
<div class='inline'
|
875
|
-
First item: parsed data; second item: raw body
|
876
|
-
</p>
|
834
|
+
<div class='inline'>
|
835
|
+
<p>First item: parsed data; second item: raw body</p>
|
877
836
|
</div>
|
878
837
|
|
879
838
|
</li>
|
@@ -893,10 +852,9 @@ First item: parsed data; second item: raw body
|
|
893
852
|
<td>
|
894
853
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/compute_resource.rb', line 25</span>
|
895
854
|
|
896
|
-
<span class='
|
897
|
-
<span class='
|
898
|
-
<span class='
|
899
|
-
</pre>
|
855
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_show'>show</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
856
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
857
|
+
<span class='kw'>end</span></pre>
|
900
858
|
</td>
|
901
859
|
</tr>
|
902
860
|
</table>
|
@@ -913,9 +871,8 @@ First item: parsed data; second item: raw body
|
|
913
871
|
|
914
872
|
</h3><div class="docstring">
|
915
873
|
<div class="discussion">
|
916
|
-
|
917
|
-
First item: parsed data; second item: raw body
|
918
|
-
</p>
|
874
|
+
|
875
|
+
<p>First item: parsed data; second item: raw body</p>
|
919
876
|
|
920
877
|
|
921
878
|
</div>
|
@@ -936,9 +893,8 @@ First item: parsed data; second item: raw body
|
|
936
893
|
|
937
894
|
|
938
895
|
—
|
939
|
-
<div class='inline'
|
940
|
-
a hash of params to be passed to the service
|
941
|
-
</p>
|
896
|
+
<div class='inline'>
|
897
|
+
<p>a hash of params to be passed to the service</p>
|
942
898
|
</div>
|
943
899
|
|
944
900
|
</li>
|
@@ -955,9 +911,8 @@ a hash of params to be passed to the service
|
|
955
911
|
|
956
912
|
|
957
913
|
—
|
958
|
-
<div class='inline'
|
959
|
-
additional http headers
|
960
|
-
</p>
|
914
|
+
<div class='inline'>
|
915
|
+
<p>additional http headers</p>
|
961
916
|
</div>
|
962
917
|
|
963
918
|
</li>
|
@@ -986,44 +941,32 @@ additional http headers
|
|
986
941
|
|
987
942
|
</span>
|
988
943
|
|
989
|
-
— <div class='inline'
|
990
|
-
allowed keys are
|
991
|
-
|
992
|
-
<
|
993
|
-
|
994
|
-
|
995
|
-
</li>
|
996
|
-
<
|
997
|
-
|
998
|
-
</li>
|
999
|
-
<
|
1000
|
-
|
1001
|
-
|
1002
|
-
</
|
1003
|
-
|
1004
|
-
|
1005
|
-
|
1006
|
-
</
|
1007
|
-
|
1008
|
-
|
1009
|
-
</li>
|
1010
|
-
<
|
1011
|
-
|
1012
|
-
</li>
|
1013
|
-
<
|
1014
|
-
|
1015
|
-
</li>
|
1016
|
-
<li>url [String] Url for libvirt, ovirt, and openstack
|
1017
|
-
|
1018
|
-
</li>
|
1019
|
-
<li>user [String] Username for ovirt, ec2, vmware, openstack. access key for
|
1020
|
-
ec2.
|
1021
|
-
|
1022
|
-
</li>
|
1023
|
-
<li>uuid [String] For ovirt, vmware datacenter
|
1024
|
-
|
1025
|
-
</li>
|
1026
|
-
</ul>
|
944
|
+
— <div class='inline'>
|
945
|
+
<p>allowed keys are:</p>
|
946
|
+
<ul><li>
|
947
|
+
<p>description [String]</p>
|
948
|
+
</li><li>
|
949
|
+
<p>name [String]</p>
|
950
|
+
</li><li>
|
951
|
+
<p>password [String] Password for ovirt, ec2, vmware, openstack. secret key
|
952
|
+
for ec2</p>
|
953
|
+
</li><li>
|
954
|
+
<p>provider [String] Providers include libvirt, ovirt, ec2, vmware, openstack,
|
955
|
+
rackspace</p>
|
956
|
+
</li><li>
|
957
|
+
<p>region [String] For ec2 only</p>
|
958
|
+
</li><li>
|
959
|
+
<p>server [String] For vmware</p>
|
960
|
+
</li><li>
|
961
|
+
<p>tenant [String] For openstack only</p>
|
962
|
+
</li><li>
|
963
|
+
<p>url [String] Url for libvirt, ovirt, and openstack</p>
|
964
|
+
</li><li>
|
965
|
+
<p>user [String] Username for ovirt, ec2, vmware, openstack. access key for
|
966
|
+
ec2.</p>
|
967
|
+
</li><li>
|
968
|
+
<p>uuid [String] For ovirt, vmware datacenter</p>
|
969
|
+
</li></ul>
|
1027
970
|
</div>
|
1028
971
|
|
1029
972
|
</li>
|
@@ -1044,9 +987,8 @@ ec2.
|
|
1044
987
|
|
1045
988
|
|
1046
989
|
—
|
1047
|
-
<div class='inline'
|
1048
|
-
First item: parsed data; second item: raw body
|
1049
|
-
</p>
|
990
|
+
<div class='inline'>
|
991
|
+
<p>First item: parsed data; second item: raw body</p>
|
1050
992
|
</div>
|
1051
993
|
|
1052
994
|
</li>
|
@@ -1066,10 +1008,9 @@ First item: parsed data; second item: raw body
|
|
1066
1008
|
<td>
|
1067
1009
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/compute_resource.rb', line 66</span>
|
1068
1010
|
|
1069
|
-
<span class='
|
1070
|
-
<span class='
|
1071
|
-
<span class='
|
1072
|
-
</pre>
|
1011
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_update'>update</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
1012
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
1013
|
+
<span class='kw'>end</span></pre>
|
1073
1014
|
</td>
|
1074
1015
|
</tr>
|
1075
1016
|
</table>
|
@@ -1080,9 +1021,9 @@ First item: parsed data; second item: raw body
|
|
1080
1021
|
</div>
|
1081
1022
|
|
1082
1023
|
<div id="footer">
|
1083
|
-
Generated on
|
1024
|
+
Generated on Thu Jun 20 12:05:24 2013 by
|
1084
1025
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1085
|
-
0.8.
|
1026
|
+
0.8.3 (ruby-1.9.3).
|
1086
1027
|
</div>
|
1087
1028
|
|
1088
1029
|
</body>
|