foreman_api 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/doc/ForemanApi.html +3 -3
- data/doc/ForemanApi/Resources.html +4 -4
- data/doc/ForemanApi/Resources/Architecture.html +7 -7
- data/doc/ForemanApi/Resources/Audit.html +5 -5
- data/doc/ForemanApi/Resources/AuthSourceLdap.html +15 -15
- data/doc/ForemanApi/Resources/Bookmark.html +3 -3
- data/doc/ForemanApi/Resources/CommonParameter.html +5 -5
- data/doc/ForemanApi/Resources/ComputeResource.html +167 -24
- data/doc/ForemanApi/Resources/ConfigTemplate.html +14 -14
- data/doc/ForemanApi/Resources/Dashboard.html +2 -2
- data/doc/ForemanApi/Resources/Domain.html +14 -14
- data/doc/ForemanApi/Resources/Environment.html +199 -25
- data/doc/ForemanApi/Resources/FactValue.html +5 -5
- data/doc/ForemanApi/Resources/Home.html +1 -1
- data/doc/ForemanApi/Resources/Host.html +509 -10
- data/doc/ForemanApi/Resources/HostClass.html +5 -5
- data/doc/ForemanApi/Resources/Hostgroup.html +5 -5
- data/doc/ForemanApi/Resources/HostgroupClass.html +5 -5
- data/doc/ForemanApi/Resources/Image.html +5 -5
- data/doc/ForemanApi/Resources/Interface.html +1045 -0
- data/doc/ForemanApi/Resources/Location.html +5 -5
- data/doc/ForemanApi/Resources/LookupKey.html +62 -811
- data/doc/ForemanApi/Resources/Medium.html +13 -13
- data/doc/ForemanApi/Resources/Model.html +5 -5
- data/doc/ForemanApi/Resources/OperatingSystem.html +5 -5
- data/doc/ForemanApi/Resources/Organization.html +5 -5
- data/doc/ForemanApi/Resources/OverrideValue.html +1060 -0
- data/doc/ForemanApi/Resources/Parameter.html +26 -26
- data/doc/ForemanApi/Resources/Ptable.html +5 -5
- data/doc/ForemanApi/Resources/Puppetclass.html +80 -28
- data/doc/ForemanApi/Resources/Report.html +164 -6
- data/doc/ForemanApi/Resources/Role.html +3 -3
- data/doc/ForemanApi/Resources/Setting.html +5 -5
- data/doc/ForemanApi/Resources/SmartClassParameter.html +747 -0
- data/doc/ForemanApi/Resources/SmartProxy.html +341 -24
- data/doc/ForemanApi/Resources/SmartVariable.html +1043 -0
- data/doc/ForemanApi/Resources/Statistic.html +330 -0
- data/doc/ForemanApi/Resources/Subnet.html +33 -33
- data/doc/ForemanApi/Resources/TemplateCombination.html +3 -3
- data/doc/ForemanApi/Resources/TemplateKind.html +3 -3
- data/doc/ForemanApi/Resources/User.html +7 -7
- data/doc/ForemanApi/Resources/Usergroup.html +5 -5
- data/doc/_index.html +36 -1
- data/doc/class_list.html +1 -1
- data/doc/file.MIT-LICENSE.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/method_list.html +515 -347
- data/doc/top-level-namespace.html +1 -1
- data/lib/foreman_api/base.rb +2 -1
- data/lib/foreman_api/documentation.json +1 -1
- data/lib/foreman_api/resources/architecture.rb +6 -6
- data/lib/foreman_api/resources/audit.rb +4 -4
- data/lib/foreman_api/resources/auth_source_ldap.rb +14 -14
- data/lib/foreman_api/resources/bookmark.rb +2 -2
- data/lib/foreman_api/resources/common_parameter.rb +4 -4
- data/lib/foreman_api/resources/compute_resource.rb +29 -20
- data/lib/foreman_api/resources/config_template.rb +13 -13
- data/lib/foreman_api/resources/dashboard.rb +1 -1
- data/lib/foreman_api/resources/domain.rb +13 -13
- data/lib/foreman_api/resources/environment.rb +16 -4
- data/lib/foreman_api/resources/fact_value.rb +4 -4
- data/lib/foreman_api/resources/host.rb +40 -8
- data/lib/foreman_api/resources/host_class.rb +4 -4
- data/lib/foreman_api/resources/hostgroup.rb +4 -4
- data/lib/foreman_api/resources/hostgroup_class.rb +4 -4
- data/lib/foreman_api/resources/image.rb +4 -4
- data/lib/foreman_api/resources/interface.rb +80 -0
- data/lib/foreman_api/resources/location.rb +4 -4
- data/lib/foreman_api/resources/lookup_key.rb +6 -65
- data/lib/foreman_api/resources/medium.rb +10 -10
- data/lib/foreman_api/resources/model.rb +4 -4
- data/lib/foreman_api/resources/operating_system.rb +4 -4
- data/lib/foreman_api/resources/organization.rb +4 -4
- data/lib/foreman_api/resources/override_value.rb +73 -0
- data/lib/foreman_api/resources/parameter.rb +25 -25
- data/lib/foreman_api/resources/ptable.rb +4 -4
- data/lib/foreman_api/resources/puppetclass.rb +11 -7
- data/lib/foreman_api/resources/report.rb +19 -4
- data/lib/foreman_api/resources/role.rb +2 -2
- data/lib/foreman_api/resources/setting.rb +4 -4
- data/lib/foreman_api/resources/smart_class_parameter.rb +55 -0
- data/lib/foreman_api/resources/smart_proxy.rb +24 -3
- data/lib/foreman_api/resources/smart_variable.rb +80 -0
- data/lib/foreman_api/resources/statistic.rb +18 -0
- data/lib/foreman_api/resources/subnet.rb +32 -32
- data/lib/foreman_api/resources/template_combination.rb +2 -2
- data/lib/foreman_api/resources/template_kind.rb +2 -2
- data/lib/foreman_api/resources/user.rb +6 -6
- data/lib/foreman_api/resources/usergroup.rb +4 -4
- data/lib/foreman_api/version.rb +1 -1
- metadata +13 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a107a2b3ce7a9d7d95d8444d6668886f96a7d12c
|
|
4
|
+
data.tar.gz: 5eaa49ec9a28120ecadfa589b3be1629cb452d69
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fb040f5246b1f876aafcc3c6ef3962817db62680375fb8329b947de2fe8f71a7f5979d4237ae794fc2d39199283315b0beaee02f64f0a362ff0706226319cc7a
|
|
7
|
+
data.tar.gz: 9740f3ac15017dafd669748c8d36b4c4236579edda83bf29bda35679acc708d5703f71b2fae9ef09e8e36db0ccb0833ff0fae84e337fb2c16fa38244960845d1
|
data/doc/ForemanApi.html
CHANGED
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
<dt class="r1 last">Defined in:</dt>
|
|
82
|
-
<dd class="r1 last">lib/foreman_api/resources/
|
|
83
|
-
lib/foreman_api/resources/
|
|
82
|
+
<dd class="r1 last">lib/foreman_api/resources/home.rb<span class="defines">,<br />
|
|
83
|
+
lib/foreman_api/resources/role.rb,<br /> lib/foreman_api/resources/user.rb,<br /> lib/foreman_api/resources/host.rb,<br /> lib/foreman_api/resources/audit.rb,<br /> lib/foreman_api/resources/model.rb,<br /> lib/foreman_api/resources/image.rb,<br /> lib/foreman_api/resources/medium.rb,<br /> lib/foreman_api/resources/report.rb,<br /> lib/foreman_api/resources/subnet.rb,<br /> lib/foreman_api/resources/domain.rb,<br /> lib/foreman_api/resources/ptable.rb,<br /> lib/foreman_api/resources/setting.rb,<br /> lib/foreman_api/resources/bookmark.rb,<br /> lib/foreman_api/resources/location.rb,<br /> lib/foreman_api/resources/hostgroup.rb,<br /> lib/foreman_api/resources/interface.rb,<br /> lib/foreman_api/resources/parameter.rb,<br /> lib/foreman_api/resources/dashboard.rb,<br /> lib/foreman_api/resources/statistic.rb,<br /> lib/foreman_api/resources/usergroup.rb,<br /> lib/foreman_api/resources/host_class.rb,<br /> lib/foreman_api/resources/fact_value.rb,<br /> lib/foreman_api/resources/lookup_key.rb,<br /> lib/foreman_api/resources/environment.rb,<br /> lib/foreman_api/resources/puppetclass.rb,<br /> lib/foreman_api/resources/smart_proxy.rb,<br /> lib/foreman_api/resources/organization.rb,<br /> lib/foreman_api/resources/architecture.rb,<br /> lib/foreman_api/resources/template_kind.rb,<br /> lib/foreman_api/resources/override_value.rb,<br /> lib/foreman_api/resources/smart_variable.rb,<br /> lib/foreman_api/resources/config_template.rb,<br /> lib/foreman_api/resources/hostgroup_class.rb,<br /> lib/foreman_api/resources/auth_source_ldap.rb,<br /> lib/foreman_api/resources/operating_system.rb,<br /> lib/foreman_api/resources/common_parameter.rb,<br /> lib/foreman_api/resources/compute_resource.rb,<br /> lib/foreman_api/resources/template_combination.rb,<br /> lib/foreman_api/resources/smart_class_parameter.rb</span>
|
|
84
84
|
</dd>
|
|
85
85
|
|
|
86
86
|
</dl>
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
</div>
|
|
109
109
|
|
|
110
110
|
<div id="footer">
|
|
111
|
-
Generated on Mon
|
|
111
|
+
Generated on Mon Oct 21 11:10:43 2013 by
|
|
112
112
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
113
113
|
0.8.7 (ruby-2.0.0).
|
|
114
114
|
</div>
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
<dt class="r1 last">Defined in:</dt>
|
|
82
|
-
<dd class="r1 last">lib/foreman_api/resources/
|
|
83
|
-
lib/foreman_api/resources/
|
|
82
|
+
<dd class="r1 last">lib/foreman_api/resources/home.rb<span class="defines">,<br />
|
|
83
|
+
lib/foreman_api/resources/role.rb,<br /> lib/foreman_api/resources/user.rb,<br /> lib/foreman_api/resources/host.rb,<br /> lib/foreman_api/resources/audit.rb,<br /> lib/foreman_api/resources/model.rb,<br /> lib/foreman_api/resources/image.rb,<br /> lib/foreman_api/resources/medium.rb,<br /> lib/foreman_api/resources/report.rb,<br /> lib/foreman_api/resources/subnet.rb,<br /> lib/foreman_api/resources/domain.rb,<br /> lib/foreman_api/resources/ptable.rb,<br /> lib/foreman_api/resources/setting.rb,<br /> lib/foreman_api/resources/bookmark.rb,<br /> lib/foreman_api/resources/location.rb,<br /> lib/foreman_api/resources/hostgroup.rb,<br /> lib/foreman_api/resources/interface.rb,<br /> lib/foreman_api/resources/parameter.rb,<br /> lib/foreman_api/resources/dashboard.rb,<br /> lib/foreman_api/resources/statistic.rb,<br /> lib/foreman_api/resources/usergroup.rb,<br /> lib/foreman_api/resources/host_class.rb,<br /> lib/foreman_api/resources/fact_value.rb,<br /> lib/foreman_api/resources/lookup_key.rb,<br /> lib/foreman_api/resources/environment.rb,<br /> lib/foreman_api/resources/puppetclass.rb,<br /> lib/foreman_api/resources/smart_proxy.rb,<br /> lib/foreman_api/resources/organization.rb,<br /> lib/foreman_api/resources/architecture.rb,<br /> lib/foreman_api/resources/template_kind.rb,<br /> lib/foreman_api/resources/override_value.rb,<br /> lib/foreman_api/resources/smart_variable.rb,<br /> lib/foreman_api/resources/config_template.rb,<br /> lib/foreman_api/resources/hostgroup_class.rb,<br /> lib/foreman_api/resources/auth_source_ldap.rb,<br /> lib/foreman_api/resources/operating_system.rb,<br /> lib/foreman_api/resources/common_parameter.rb,<br /> lib/foreman_api/resources/compute_resource.rb,<br /> lib/foreman_api/resources/template_combination.rb,<br /> lib/foreman_api/resources/smart_class_parameter.rb</span>
|
|
84
84
|
</dd>
|
|
85
85
|
|
|
86
86
|
</dl>
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
|
|
95
|
-
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Resources/Architecture.html" title="ForemanApi::Resources::Architecture (class)">Architecture</a></span>, <span class='object_link'><a href="Resources/Audit.html" title="ForemanApi::Resources::Audit (class)">Audit</a></span>, <span class='object_link'><a href="Resources/AuthSourceLdap.html" title="ForemanApi::Resources::AuthSourceLdap (class)">AuthSourceLdap</a></span>, <span class='object_link'><a href="Resources/Bookmark.html" title="ForemanApi::Resources::Bookmark (class)">Bookmark</a></span>, <span class='object_link'><a href="Resources/CommonParameter.html" title="ForemanApi::Resources::CommonParameter (class)">CommonParameter</a></span>, <span class='object_link'><a href="Resources/ComputeResource.html" title="ForemanApi::Resources::ComputeResource (class)">ComputeResource</a></span>, <span class='object_link'><a href="Resources/ConfigTemplate.html" title="ForemanApi::Resources::ConfigTemplate (class)">ConfigTemplate</a></span>, <span class='object_link'><a href="Resources/Dashboard.html" title="ForemanApi::Resources::Dashboard (class)">Dashboard</a></span>, <span class='object_link'><a href="Resources/Domain.html" title="ForemanApi::Resources::Domain (class)">Domain</a></span>, <span class='object_link'><a href="Resources/Environment.html" title="ForemanApi::Resources::Environment (class)">Environment</a></span>, <span class='object_link'><a href="Resources/FactValue.html" title="ForemanApi::Resources::FactValue (class)">FactValue</a></span>, <span class='object_link'><a href="Resources/Home.html" title="ForemanApi::Resources::Home (class)">Home</a></span>, <span class='object_link'><a href="Resources/Host.html" title="ForemanApi::Resources::Host (class)">Host</a></span>, <span class='object_link'><a href="Resources/HostClass.html" title="ForemanApi::Resources::HostClass (class)">HostClass</a></span>, <span class='object_link'><a href="Resources/Hostgroup.html" title="ForemanApi::Resources::Hostgroup (class)">Hostgroup</a></span>, <span class='object_link'><a href="Resources/HostgroupClass.html" title="ForemanApi::Resources::HostgroupClass (class)">HostgroupClass</a></span>, <span class='object_link'><a href="Resources/Image.html" title="ForemanApi::Resources::Image (class)">Image</a></span>, <span class='object_link'><a href="Resources/Location.html" title="ForemanApi::Resources::Location (class)">Location</a></span>, <span class='object_link'><a href="Resources/LookupKey.html" title="ForemanApi::Resources::LookupKey (class)">LookupKey</a></span>, <span class='object_link'><a href="Resources/Medium.html" title="ForemanApi::Resources::Medium (class)">Medium</a></span>, <span class='object_link'><a href="Resources/Model.html" title="ForemanApi::Resources::Model (class)">Model</a></span>, <span class='object_link'><a href="Resources/OperatingSystem.html" title="ForemanApi::Resources::OperatingSystem (class)">OperatingSystem</a></span>, <span class='object_link'><a href="Resources/Organization.html" title="ForemanApi::Resources::Organization (class)">Organization</a></span>, <span class='object_link'><a href="Resources/Parameter.html" title="ForemanApi::Resources::Parameter (class)">Parameter</a></span>, <span class='object_link'><a href="Resources/Ptable.html" title="ForemanApi::Resources::Ptable (class)">Ptable</a></span>, <span class='object_link'><a href="Resources/Puppetclass.html" title="ForemanApi::Resources::Puppetclass (class)">Puppetclass</a></span>, <span class='object_link'><a href="Resources/Report.html" title="ForemanApi::Resources::Report (class)">Report</a></span>, <span class='object_link'><a href="Resources/Role.html" title="ForemanApi::Resources::Role (class)">Role</a></span>, <span class='object_link'><a href="Resources/Setting.html" title="ForemanApi::Resources::Setting (class)">Setting</a></span>, <span class='object_link'><a href="Resources/SmartProxy.html" title="ForemanApi::Resources::SmartProxy (class)">SmartProxy</a></span>, <span class='object_link'><a href="Resources/Subnet.html" title="ForemanApi::Resources::Subnet (class)">Subnet</a></span>, <span class='object_link'><a href="Resources/TemplateCombination.html" title="ForemanApi::Resources::TemplateCombination (class)">TemplateCombination</a></span>, <span class='object_link'><a href="Resources/TemplateKind.html" title="ForemanApi::Resources::TemplateKind (class)">TemplateKind</a></span>, <span class='object_link'><a href="Resources/User.html" title="ForemanApi::Resources::User (class)">User</a></span>, <span class='object_link'><a href="Resources/Usergroup.html" title="ForemanApi::Resources::Usergroup (class)">Usergroup</a></span>
|
|
95
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Resources/Architecture.html" title="ForemanApi::Resources::Architecture (class)">Architecture</a></span>, <span class='object_link'><a href="Resources/Audit.html" title="ForemanApi::Resources::Audit (class)">Audit</a></span>, <span class='object_link'><a href="Resources/AuthSourceLdap.html" title="ForemanApi::Resources::AuthSourceLdap (class)">AuthSourceLdap</a></span>, <span class='object_link'><a href="Resources/Bookmark.html" title="ForemanApi::Resources::Bookmark (class)">Bookmark</a></span>, <span class='object_link'><a href="Resources/CommonParameter.html" title="ForemanApi::Resources::CommonParameter (class)">CommonParameter</a></span>, <span class='object_link'><a href="Resources/ComputeResource.html" title="ForemanApi::Resources::ComputeResource (class)">ComputeResource</a></span>, <span class='object_link'><a href="Resources/ConfigTemplate.html" title="ForemanApi::Resources::ConfigTemplate (class)">ConfigTemplate</a></span>, <span class='object_link'><a href="Resources/Dashboard.html" title="ForemanApi::Resources::Dashboard (class)">Dashboard</a></span>, <span class='object_link'><a href="Resources/Domain.html" title="ForemanApi::Resources::Domain (class)">Domain</a></span>, <span class='object_link'><a href="Resources/Environment.html" title="ForemanApi::Resources::Environment (class)">Environment</a></span>, <span class='object_link'><a href="Resources/FactValue.html" title="ForemanApi::Resources::FactValue (class)">FactValue</a></span>, <span class='object_link'><a href="Resources/Home.html" title="ForemanApi::Resources::Home (class)">Home</a></span>, <span class='object_link'><a href="Resources/Host.html" title="ForemanApi::Resources::Host (class)">Host</a></span>, <span class='object_link'><a href="Resources/HostClass.html" title="ForemanApi::Resources::HostClass (class)">HostClass</a></span>, <span class='object_link'><a href="Resources/Hostgroup.html" title="ForemanApi::Resources::Hostgroup (class)">Hostgroup</a></span>, <span class='object_link'><a href="Resources/HostgroupClass.html" title="ForemanApi::Resources::HostgroupClass (class)">HostgroupClass</a></span>, <span class='object_link'><a href="Resources/Image.html" title="ForemanApi::Resources::Image (class)">Image</a></span>, <span class='object_link'><a href="Resources/Interface.html" title="ForemanApi::Resources::Interface (class)">Interface</a></span>, <span class='object_link'><a href="Resources/Location.html" title="ForemanApi::Resources::Location (class)">Location</a></span>, <span class='object_link'><a href="Resources/LookupKey.html" title="ForemanApi::Resources::LookupKey (class)">LookupKey</a></span>, <span class='object_link'><a href="Resources/Medium.html" title="ForemanApi::Resources::Medium (class)">Medium</a></span>, <span class='object_link'><a href="Resources/Model.html" title="ForemanApi::Resources::Model (class)">Model</a></span>, <span class='object_link'><a href="Resources/OperatingSystem.html" title="ForemanApi::Resources::OperatingSystem (class)">OperatingSystem</a></span>, <span class='object_link'><a href="Resources/Organization.html" title="ForemanApi::Resources::Organization (class)">Organization</a></span>, <span class='object_link'><a href="Resources/OverrideValue.html" title="ForemanApi::Resources::OverrideValue (class)">OverrideValue</a></span>, <span class='object_link'><a href="Resources/Parameter.html" title="ForemanApi::Resources::Parameter (class)">Parameter</a></span>, <span class='object_link'><a href="Resources/Ptable.html" title="ForemanApi::Resources::Ptable (class)">Ptable</a></span>, <span class='object_link'><a href="Resources/Puppetclass.html" title="ForemanApi::Resources::Puppetclass (class)">Puppetclass</a></span>, <span class='object_link'><a href="Resources/Report.html" title="ForemanApi::Resources::Report (class)">Report</a></span>, <span class='object_link'><a href="Resources/Role.html" title="ForemanApi::Resources::Role (class)">Role</a></span>, <span class='object_link'><a href="Resources/Setting.html" title="ForemanApi::Resources::Setting (class)">Setting</a></span>, <span class='object_link'><a href="Resources/SmartClassParameter.html" title="ForemanApi::Resources::SmartClassParameter (class)">SmartClassParameter</a></span>, <span class='object_link'><a href="Resources/SmartProxy.html" title="ForemanApi::Resources::SmartProxy (class)">SmartProxy</a></span>, <span class='object_link'><a href="Resources/SmartVariable.html" title="ForemanApi::Resources::SmartVariable (class)">SmartVariable</a></span>, <span class='object_link'><a href="Resources/Statistic.html" title="ForemanApi::Resources::Statistic (class)">Statistic</a></span>, <span class='object_link'><a href="Resources/Subnet.html" title="ForemanApi::Resources::Subnet (class)">Subnet</a></span>, <span class='object_link'><a href="Resources/TemplateCombination.html" title="ForemanApi::Resources::TemplateCombination (class)">TemplateCombination</a></span>, <span class='object_link'><a href="Resources/TemplateKind.html" title="ForemanApi::Resources::TemplateKind (class)">TemplateKind</a></span>, <span class='object_link'><a href="Resources/User.html" title="ForemanApi::Resources::User (class)">User</a></span>, <span class='object_link'><a href="Resources/Usergroup.html" title="ForemanApi::Resources::Usergroup (class)">Usergroup</a></span>
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
</p>
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
</div>
|
|
109
109
|
|
|
110
110
|
<div id="footer">
|
|
111
|
-
Generated on Mon
|
|
111
|
+
Generated on Mon Oct 21 11:10:43 2013 by
|
|
112
112
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
113
113
|
0.8.7 (ruby-2.0.0).
|
|
114
114
|
</div>
|
|
@@ -388,7 +388,7 @@
|
|
|
388
388
|
— <div class='inline'>
|
|
389
389
|
<p>allowed keys are:</p>
|
|
390
390
|
<ul><li>
|
|
391
|
-
<p>operatingsystem_ids [Array]
|
|
391
|
+
<p>operatingsystem_ids [Array] operatingsystem id’s</p>
|
|
392
392
|
</li><li>
|
|
393
393
|
<p>name [String]</p>
|
|
394
394
|
</li></ul>
|
|
@@ -633,7 +633,7 @@
|
|
|
633
633
|
</span>
|
|
634
634
|
|
|
635
635
|
— <div class='inline'>
|
|
636
|
-
<p>
|
|
636
|
+
<p>sort results</p>
|
|
637
637
|
</div>
|
|
638
638
|
|
|
639
639
|
</li>
|
|
@@ -646,7 +646,7 @@
|
|
|
646
646
|
</span>
|
|
647
647
|
|
|
648
648
|
— <div class='inline'>
|
|
649
|
-
<p>
|
|
649
|
+
<p>paginate results</p>
|
|
650
650
|
</div>
|
|
651
651
|
|
|
652
652
|
</li>
|
|
@@ -659,7 +659,7 @@
|
|
|
659
659
|
</span>
|
|
660
660
|
|
|
661
661
|
— <div class='inline'>
|
|
662
|
-
<p>
|
|
662
|
+
<p>number of entries per request</p>
|
|
663
663
|
</div>
|
|
664
664
|
|
|
665
665
|
</li>
|
|
@@ -672,7 +672,7 @@
|
|
|
672
672
|
</span>
|
|
673
673
|
|
|
674
674
|
— <div class='inline'>
|
|
675
|
-
<p>
|
|
675
|
+
<p>filter results</p>
|
|
676
676
|
</div>
|
|
677
677
|
|
|
678
678
|
</li>
|
|
@@ -925,7 +925,7 @@
|
|
|
925
925
|
— <div class='inline'>
|
|
926
926
|
<p>allowed keys are:</p>
|
|
927
927
|
<ul><li>
|
|
928
|
-
<p>operatingsystem_ids [Array]
|
|
928
|
+
<p>operatingsystem_ids [Array] operatingsystem id’s</p>
|
|
929
929
|
</li><li>
|
|
930
930
|
<p>name [String]</p>
|
|
931
931
|
</li></ul>
|
|
@@ -983,7 +983,7 @@
|
|
|
983
983
|
</div>
|
|
984
984
|
|
|
985
985
|
<div id="footer">
|
|
986
|
-
Generated on Mon
|
|
986
|
+
Generated on Mon Oct 21 11:10:46 2013 by
|
|
987
987
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
988
988
|
0.8.7 (ruby-2.0.0).
|
|
989
989
|
</div>
|
|
@@ -327,7 +327,7 @@
|
|
|
327
327
|
</span>
|
|
328
328
|
|
|
329
329
|
— <div class='inline'>
|
|
330
|
-
<p>
|
|
330
|
+
<p>sort results</p>
|
|
331
331
|
</div>
|
|
332
332
|
|
|
333
333
|
</li>
|
|
@@ -340,7 +340,7 @@
|
|
|
340
340
|
</span>
|
|
341
341
|
|
|
342
342
|
— <div class='inline'>
|
|
343
|
-
<p>
|
|
343
|
+
<p>paginate results</p>
|
|
344
344
|
</div>
|
|
345
345
|
|
|
346
346
|
</li>
|
|
@@ -353,7 +353,7 @@
|
|
|
353
353
|
</span>
|
|
354
354
|
|
|
355
355
|
— <div class='inline'>
|
|
356
|
-
<p>
|
|
356
|
+
<p>number of entries per request</p>
|
|
357
357
|
</div>
|
|
358
358
|
|
|
359
359
|
</li>
|
|
@@ -366,7 +366,7 @@
|
|
|
366
366
|
</span>
|
|
367
367
|
|
|
368
368
|
— <div class='inline'>
|
|
369
|
-
<p>
|
|
369
|
+
<p>filter results</p>
|
|
370
370
|
</div>
|
|
371
371
|
|
|
372
372
|
</li>
|
|
@@ -540,7 +540,7 @@
|
|
|
540
540
|
</div>
|
|
541
541
|
|
|
542
542
|
<div id="footer">
|
|
543
|
-
Generated on Mon
|
|
543
|
+
Generated on Mon Oct 21 11:10:43 2013 by
|
|
544
544
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
545
545
|
0.8.7 (ruby-2.0.0).
|
|
546
546
|
</div>
|
|
@@ -390,15 +390,15 @@
|
|
|
390
390
|
<ul><li>
|
|
391
391
|
<p>account [String]</p>
|
|
392
392
|
</li><li>
|
|
393
|
-
<p>account_password [String]
|
|
393
|
+
<p>account_password [String] required if onthefly_register is true</p>
|
|
394
394
|
</li><li>
|
|
395
|
-
<p>attr_firstname [String]
|
|
395
|
+
<p>attr_firstname [String] required if onthefly_register is true</p>
|
|
396
396
|
</li><li>
|
|
397
|
-
<p>attr_lastname [String]
|
|
397
|
+
<p>attr_lastname [String] required if onthefly_register is true</p>
|
|
398
398
|
</li><li>
|
|
399
|
-
<p>attr_login [String]
|
|
399
|
+
<p>attr_login [String] required if onthefly_register is true</p>
|
|
400
400
|
</li><li>
|
|
401
|
-
<p>attr_mail [String]
|
|
401
|
+
<p>attr_mail [String] required if onthefly_register is true</p>
|
|
402
402
|
</li><li>
|
|
403
403
|
<p>base_dn [String]</p>
|
|
404
404
|
</li><li>
|
|
@@ -408,7 +408,7 @@
|
|
|
408
408
|
</li><li>
|
|
409
409
|
<p>onthefly_register [String]</p>
|
|
410
410
|
</li><li>
|
|
411
|
-
<p>port [String]
|
|
411
|
+
<p>port [String] defaults to 389</p>
|
|
412
412
|
</li><li>
|
|
413
413
|
<p>tls [String]</p>
|
|
414
414
|
</li></ul>
|
|
@@ -653,7 +653,7 @@
|
|
|
653
653
|
</span>
|
|
654
654
|
|
|
655
655
|
— <div class='inline'>
|
|
656
|
-
<p>
|
|
656
|
+
<p>paginate results</p>
|
|
657
657
|
</div>
|
|
658
658
|
|
|
659
659
|
</li>
|
|
@@ -666,7 +666,7 @@
|
|
|
666
666
|
</span>
|
|
667
667
|
|
|
668
668
|
— <div class='inline'>
|
|
669
|
-
<p>
|
|
669
|
+
<p>number of entries per request</p>
|
|
670
670
|
</div>
|
|
671
671
|
|
|
672
672
|
</li>
|
|
@@ -921,15 +921,15 @@
|
|
|
921
921
|
<ul><li>
|
|
922
922
|
<p>account [String]</p>
|
|
923
923
|
</li><li>
|
|
924
|
-
<p>account_password [String]
|
|
924
|
+
<p>account_password [String] required if onthefly_register is true</p>
|
|
925
925
|
</li><li>
|
|
926
|
-
<p>attr_firstname [String]
|
|
926
|
+
<p>attr_firstname [String] required if onthefly_register is true</p>
|
|
927
927
|
</li><li>
|
|
928
|
-
<p>attr_lastname [String]
|
|
928
|
+
<p>attr_lastname [String] required if onthefly_register is true</p>
|
|
929
929
|
</li><li>
|
|
930
|
-
<p>attr_login [String]
|
|
930
|
+
<p>attr_login [String] required if onthefly_register is true</p>
|
|
931
931
|
</li><li>
|
|
932
|
-
<p>attr_mail [String]
|
|
932
|
+
<p>attr_mail [String] required if onthefly_register is true</p>
|
|
933
933
|
</li><li>
|
|
934
934
|
<p>base_dn [String]</p>
|
|
935
935
|
</li><li>
|
|
@@ -939,7 +939,7 @@
|
|
|
939
939
|
</li><li>
|
|
940
940
|
<p>onthefly_register [String]</p>
|
|
941
941
|
</li><li>
|
|
942
|
-
<p>port [String]
|
|
942
|
+
<p>port [String] defaults to 389</p>
|
|
943
943
|
</li><li>
|
|
944
944
|
<p>tls [String]</p>
|
|
945
945
|
</li></ul>
|
|
@@ -997,7 +997,7 @@
|
|
|
997
997
|
</div>
|
|
998
998
|
|
|
999
999
|
<div id="footer">
|
|
1000
|
-
Generated on Mon
|
|
1000
|
+
Generated on Mon Oct 21 11:10:46 2013 by
|
|
1001
1001
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1002
1002
|
0.8.7 (ruby-2.0.0).
|
|
1003
1003
|
</div>
|
|
@@ -637,7 +637,7 @@
|
|
|
637
637
|
</span>
|
|
638
638
|
|
|
639
639
|
— <div class='inline'>
|
|
640
|
-
<p>
|
|
640
|
+
<p>paginate results</p>
|
|
641
641
|
</div>
|
|
642
642
|
|
|
643
643
|
</li>
|
|
@@ -650,7 +650,7 @@
|
|
|
650
650
|
</span>
|
|
651
651
|
|
|
652
652
|
— <div class='inline'>
|
|
653
|
-
<p>
|
|
653
|
+
<p>number of entries per request</p>
|
|
654
654
|
</div>
|
|
655
655
|
|
|
656
656
|
</li>
|
|
@@ -965,7 +965,7 @@
|
|
|
965
965
|
</div>
|
|
966
966
|
|
|
967
967
|
<div id="footer">
|
|
968
|
-
Generated on Mon
|
|
968
|
+
Generated on Mon Oct 21 11:10:44 2013 by
|
|
969
969
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
970
970
|
0.8.7 (ruby-2.0.0).
|
|
971
971
|
</div>
|
|
@@ -633,7 +633,7 @@
|
|
|
633
633
|
</span>
|
|
634
634
|
|
|
635
635
|
— <div class='inline'>
|
|
636
|
-
<p>
|
|
636
|
+
<p>sort results</p>
|
|
637
637
|
</div>
|
|
638
638
|
|
|
639
639
|
</li>
|
|
@@ -646,7 +646,7 @@
|
|
|
646
646
|
</span>
|
|
647
647
|
|
|
648
648
|
— <div class='inline'>
|
|
649
|
-
<p>
|
|
649
|
+
<p>paginate results</p>
|
|
650
650
|
</div>
|
|
651
651
|
|
|
652
652
|
</li>
|
|
@@ -659,7 +659,7 @@
|
|
|
659
659
|
</span>
|
|
660
660
|
|
|
661
661
|
— <div class='inline'>
|
|
662
|
-
<p>
|
|
662
|
+
<p>number of entries per request</p>
|
|
663
663
|
</div>
|
|
664
664
|
|
|
665
665
|
</li>
|
|
@@ -672,7 +672,7 @@
|
|
|
672
672
|
</span>
|
|
673
673
|
|
|
674
674
|
— <div class='inline'>
|
|
675
|
-
<p>
|
|
675
|
+
<p>filter results</p>
|
|
676
676
|
</div>
|
|
677
677
|
|
|
678
678
|
</li>
|
|
@@ -983,7 +983,7 @@
|
|
|
983
983
|
</div>
|
|
984
984
|
|
|
985
985
|
<div id="footer">
|
|
986
|
-
Generated on Mon
|
|
986
|
+
Generated on Mon Oct 21 11:10:47 2013 by
|
|
987
987
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
988
988
|
0.8.7 (ruby-2.0.0).
|
|
989
989
|
</div>
|
|
@@ -150,6 +150,30 @@
|
|
|
150
150
|
<li class="public ">
|
|
151
151
|
<span class="summary_signature">
|
|
152
152
|
|
|
153
|
+
<a href="#available_images-instance_method" title="#available_images (instance method)">- (Array) <strong>available_images</strong>(params = {}, headers = {}) </a>
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
</span>
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
<span class="summary_desc"><div class='inline'>
|
|
168
|
+
<p>First item: parsed data; second item: raw body.</p>
|
|
169
|
+
</div></span>
|
|
170
|
+
|
|
171
|
+
</li>
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
<li class="public ">
|
|
175
|
+
<span class="summary_signature">
|
|
176
|
+
|
|
153
177
|
<a href="#create-instance_method" title="#create (instance method)">- (Array) <strong>create</strong>(params = {}, headers = {}) </a>
|
|
154
178
|
|
|
155
179
|
|
|
@@ -314,7 +338,126 @@
|
|
|
314
338
|
|
|
315
339
|
|
|
316
340
|
<div class="method_details first">
|
|
317
|
-
<h3 class="signature first" id="
|
|
341
|
+
<h3 class="signature first" id="available_images-instance_method">
|
|
342
|
+
|
|
343
|
+
- (<tt>Array</tt>) <strong>available_images</strong>(params = {}, headers = {})
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
</h3><div class="docstring">
|
|
350
|
+
<div class="discussion">
|
|
351
|
+
|
|
352
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
</div>
|
|
356
|
+
</div>
|
|
357
|
+
<div class="tags">
|
|
358
|
+
<p class="tag_title">Parameters:</p>
|
|
359
|
+
<ul class="param">
|
|
360
|
+
|
|
361
|
+
<li>
|
|
362
|
+
|
|
363
|
+
<span class='name'>params</span>
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
—
|
|
373
|
+
<div class='inline'>
|
|
374
|
+
<p>a hash of params to be passed to the service</p>
|
|
375
|
+
</div>
|
|
376
|
+
|
|
377
|
+
</li>
|
|
378
|
+
|
|
379
|
+
<li>
|
|
380
|
+
|
|
381
|
+
<span class='name'>headers</span>
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
—
|
|
391
|
+
<div class='inline'>
|
|
392
|
+
<p>additional http headers</p>
|
|
393
|
+
</div>
|
|
394
|
+
|
|
395
|
+
</li>
|
|
396
|
+
|
|
397
|
+
</ul>
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
<p class="tag_title">Options Hash (<tt>params</tt>):</p>
|
|
403
|
+
<ul class="option">
|
|
404
|
+
|
|
405
|
+
<li>
|
|
406
|
+
<span class="name">id</span>
|
|
407
|
+
<span class="type">(<tt>String</tt>)</span>
|
|
408
|
+
<span class="default">
|
|
409
|
+
|
|
410
|
+
</span>
|
|
411
|
+
|
|
412
|
+
</li>
|
|
413
|
+
|
|
414
|
+
</ul>
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
<p class="tag_title">Returns:</p>
|
|
420
|
+
<ul class="return">
|
|
421
|
+
|
|
422
|
+
<li>
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
—
|
|
430
|
+
<div class='inline'>
|
|
431
|
+
<p>First item: parsed data; second item: raw body</p>
|
|
432
|
+
</div>
|
|
433
|
+
|
|
434
|
+
</li>
|
|
435
|
+
|
|
436
|
+
</ul>
|
|
437
|
+
|
|
438
|
+
</div><table class="source_code">
|
|
439
|
+
<tr>
|
|
440
|
+
<td>
|
|
441
|
+
<pre class="lines">
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
84
|
|
445
|
+
85
|
|
446
|
+
86</pre>
|
|
447
|
+
</td>
|
|
448
|
+
<td>
|
|
449
|
+
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/compute_resource.rb', line 84</span>
|
|
450
|
+
|
|
451
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_available_images'>available_images</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>
|
|
452
|
+
<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>
|
|
453
|
+
<span class='kw'>end</span></pre>
|
|
454
|
+
</td>
|
|
455
|
+
</tr>
|
|
456
|
+
</table>
|
|
457
|
+
</div>
|
|
458
|
+
|
|
459
|
+
<div class="method_details ">
|
|
460
|
+
<h3 class="signature " id="create-instance_method">
|
|
318
461
|
|
|
319
462
|
- (<tt>Array</tt>) <strong>create</strong>(params = {}, headers = {})
|
|
320
463
|
|
|
@@ -392,24 +535,24 @@
|
|
|
392
535
|
</li><li>
|
|
393
536
|
<p>name [String]</p>
|
|
394
537
|
</li><li>
|
|
395
|
-
<p>password [String]
|
|
538
|
+
<p>password [String] password for ovirt, ec2, vmware, openstack. secret key
|
|
396
539
|
for ec2</p>
|
|
397
540
|
</li><li>
|
|
398
|
-
<p>provider [String]
|
|
399
|
-
rackspace</p>
|
|
541
|
+
<p>provider [String] providers include libvirt, ovirt, ec2, vmware,
|
|
542
|
+
openstack, rackspace, gce</p>
|
|
400
543
|
</li><li>
|
|
401
|
-
<p>region [String]
|
|
544
|
+
<p>region [String] for ec2 only</p>
|
|
402
545
|
</li><li>
|
|
403
|
-
<p>server [String]
|
|
546
|
+
<p>server [String] for vmware</p>
|
|
404
547
|
</li><li>
|
|
405
|
-
<p>tenant [String]
|
|
548
|
+
<p>tenant [String] for openstack only</p>
|
|
406
549
|
</li><li>
|
|
407
|
-
<p>url [String]
|
|
550
|
+
<p>url [String] url for libvirt, ovirt, and openstack</p>
|
|
408
551
|
</li><li>
|
|
409
|
-
<p>user [String]
|
|
552
|
+
<p>user [String] username for ovirt, ec2, vmware, openstack. access key for
|
|
410
553
|
ec2.</p>
|
|
411
554
|
</li><li>
|
|
412
|
-
<p>uuid [String]
|
|
555
|
+
<p>uuid [String] for ovirt, vmware datacenter</p>
|
|
413
556
|
</li></ul>
|
|
414
557
|
</div>
|
|
415
558
|
|
|
@@ -652,7 +795,7 @@ ec2.</p>
|
|
|
652
795
|
</span>
|
|
653
796
|
|
|
654
797
|
— <div class='inline'>
|
|
655
|
-
<p>
|
|
798
|
+
<p>sort results</p>
|
|
656
799
|
</div>
|
|
657
800
|
|
|
658
801
|
</li>
|
|
@@ -665,7 +808,7 @@ ec2.</p>
|
|
|
665
808
|
</span>
|
|
666
809
|
|
|
667
810
|
— <div class='inline'>
|
|
668
|
-
<p>
|
|
811
|
+
<p>paginate results</p>
|
|
669
812
|
</div>
|
|
670
813
|
|
|
671
814
|
</li>
|
|
@@ -678,7 +821,7 @@ ec2.</p>
|
|
|
678
821
|
</span>
|
|
679
822
|
|
|
680
823
|
— <div class='inline'>
|
|
681
|
-
<p>
|
|
824
|
+
<p>number of entries per request</p>
|
|
682
825
|
</div>
|
|
683
826
|
|
|
684
827
|
</li>
|
|
@@ -691,7 +834,7 @@ ec2.</p>
|
|
|
691
834
|
</span>
|
|
692
835
|
|
|
693
836
|
— <div class='inline'>
|
|
694
|
-
<p>
|
|
837
|
+
<p>filter results</p>
|
|
695
838
|
</div>
|
|
696
839
|
|
|
697
840
|
</li>
|
|
@@ -948,24 +1091,24 @@ ec2.</p>
|
|
|
948
1091
|
</li><li>
|
|
949
1092
|
<p>name [String]</p>
|
|
950
1093
|
</li><li>
|
|
951
|
-
<p>password [String]
|
|
1094
|
+
<p>password [String] password for ovirt, ec2, vmware, openstack. secret key
|
|
952
1095
|
for ec2</p>
|
|
953
1096
|
</li><li>
|
|
954
|
-
<p>provider [String]
|
|
955
|
-
rackspace</p>
|
|
1097
|
+
<p>provider [String] providers include libvirt, ovirt, ec2, vmware,
|
|
1098
|
+
openstack, rackspace, gce</p>
|
|
956
1099
|
</li><li>
|
|
957
|
-
<p>region [String]
|
|
1100
|
+
<p>region [String] for ec2 only</p>
|
|
958
1101
|
</li><li>
|
|
959
|
-
<p>server [String]
|
|
1102
|
+
<p>server [String] for vmware</p>
|
|
960
1103
|
</li><li>
|
|
961
|
-
<p>tenant [String]
|
|
1104
|
+
<p>tenant [String] for openstack only</p>
|
|
962
1105
|
</li><li>
|
|
963
|
-
<p>url [String]
|
|
1106
|
+
<p>url [String] url for libvirt, ovirt, and openstack</p>
|
|
964
1107
|
</li><li>
|
|
965
|
-
<p>user [String]
|
|
1108
|
+
<p>user [String] username for ovirt, ec2, vmware, openstack. access key for
|
|
966
1109
|
ec2.</p>
|
|
967
1110
|
</li><li>
|
|
968
|
-
<p>uuid [String]
|
|
1111
|
+
<p>uuid [String] for ovirt, vmware datacenter</p>
|
|
969
1112
|
</li></ul>
|
|
970
1113
|
</div>
|
|
971
1114
|
|
|
@@ -1021,7 +1164,7 @@ ec2.</p>
|
|
|
1021
1164
|
</div>
|
|
1022
1165
|
|
|
1023
1166
|
<div id="footer">
|
|
1024
|
-
Generated on Mon
|
|
1167
|
+
Generated on Mon Oct 21 11:10:47 2013 by
|
|
1025
1168
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1026
1169
|
0.8.7 (ruby-2.0.0).
|
|
1027
1170
|
</div>
|