Class: Opsmgr::Api::Version20::Endpoints
- Inherits:
-
Object
- Object
- Opsmgr::Api::Version20::Endpoints
- Defined in:
- lib/opsmgr/api/version20/endpoints.rb
Constant Summary collapse
- VERSION =
'2.0'.freeze
Instance Method Summary collapse
- #add_product_path ⇒ Object
- #configure_user_path ⇒ Object
- #export_installation_path ⇒ Object
- #import_installation_path ⇒ Object
- #install_post_path ⇒ Object
- #installation_log_path(id) ⇒ Object
- #installation_path ⇒ Object
- #installation_settings_get_path ⇒ Object
- #installation_settings_post_path ⇒ Object
- #installed_products_path ⇒ Object
- #list_components_path ⇒ Object
- #list_products_path ⇒ Object
- #mark_for_deletion_path(product_guid) ⇒ Object
- #product_manifest_path(product_guid) ⇒ Object
- #show_installation_status(id) ⇒ Object
- #upgrade_product_path(product_guid) ⇒ Object
- #upload_product_form_key ⇒ Object
- #upload_product_path ⇒ Object
- #version ⇒ Object
Instance Method Details
#add_product_path ⇒ Object
43 44 45 |
# File 'lib/opsmgr/api/version20/endpoints.rb', line 43 def add_product_path '/api/installation_settings/products' end |
#configure_user_path ⇒ Object
27 28 29 |
# File 'lib/opsmgr/api/version20/endpoints.rb', line 27 def configure_user_path '/api/users' end |
#export_installation_path ⇒ Object
71 72 73 |
# File 'lib/opsmgr/api/version20/endpoints.rb', line 71 def export_installation_path '/api/installation_asset_collection' end |
#import_installation_path ⇒ Object
75 76 77 |
# File 'lib/opsmgr/api/version20/endpoints.rb', line 75 def import_installation_path '/api/installation_asset_collection' end |
#install_post_path ⇒ Object
19 20 21 |
# File 'lib/opsmgr/api/version20/endpoints.rb', line 19 def install_post_path '/api/installation?ignore_warnings=1' end |
#installation_log_path(id) ⇒ Object
35 36 37 |
# File 'lib/opsmgr/api/version20/endpoints.rb', line 35 def installation_log_path(id) "/api/installation/#{id}/logs" end |
#installation_path ⇒ Object
23 24 25 |
# File 'lib/opsmgr/api/version20/endpoints.rb', line 23 def installation_path '/api/installation' end |
#installation_settings_get_path ⇒ Object
15 16 17 |
# File 'lib/opsmgr/api/version20/endpoints.rb', line 15 def installation_settings_get_path '/api/installation_settings' end |
#installation_settings_post_path ⇒ Object
11 12 13 |
# File 'lib/opsmgr/api/version20/endpoints.rb', line 11 def installation_settings_post_path '/api/installation_settings' end |
#installed_products_path ⇒ Object
63 64 65 |
# File 'lib/opsmgr/api/version20/endpoints.rb', line 63 def installed_products_path '/api/installation_settings/products' end |
#list_components_path ⇒ Object
55 56 57 |
# File 'lib/opsmgr/api/version20/endpoints.rb', line 55 def list_components_path '/api/components' end |
#list_products_path ⇒ Object
59 60 61 |
# File 'lib/opsmgr/api/version20/endpoints.rb', line 59 def list_products_path '/api/products' end |
#mark_for_deletion_path(product_guid) ⇒ Object
79 80 81 |
# File 'lib/opsmgr/api/version20/endpoints.rb', line 79 def mark_for_deletion_path(product_guid) "/api/installation_settings/products/#{product_guid}" end |
#product_manifest_path(product_guid) ⇒ Object
67 68 69 |
# File 'lib/opsmgr/api/version20/endpoints.rb', line 67 def product_manifest_path(product_guid) "/api/manifests/#{product_guid}" end |
#show_installation_status(id) ⇒ Object
31 32 33 |
# File 'lib/opsmgr/api/version20/endpoints.rb', line 31 def show_installation_status(id) "/api/installation/#{id}" end |
#upgrade_product_path(product_guid) ⇒ Object
47 48 49 |
# File 'lib/opsmgr/api/version20/endpoints.rb', line 47 def upgrade_product_path(product_guid) "/api/installation_settings/products/#{product_guid}" end |
#upload_product_form_key ⇒ Object
51 52 53 |
# File 'lib/opsmgr/api/version20/endpoints.rb', line 51 def upload_product_form_key 'product' end |
#upload_product_path ⇒ Object
39 40 41 |
# File 'lib/opsmgr/api/version20/endpoints.rb', line 39 def upload_product_path '/api/products' end |
#version ⇒ Object
7 8 9 |
# File 'lib/opsmgr/api/version20/endpoints.rb', line 7 def version VERSION end |