class Opsmgr::Api::Version20::Endpoints
Constants
- VERSION
Public Instance Methods
add_product_path()
click to toggle source
# File lib/opsmgr/api/version20/endpoints.rb, line 47 def add_product_path '/api/installation_settings/products' end
api_setup_path()
click to toggle source
# File lib/opsmgr/api/version20/endpoints.rb, line 31 def api_setup_path '/api/setup' end
api_user_path()
click to toggle source
# File lib/opsmgr/api/version20/endpoints.rb, line 27 def api_user_path '/api/user' end
download_staged_manifest(product_guid)
click to toggle source
# File lib/opsmgr/api/version20/endpoints.rb, line 75 def download_staged_manifest(product_guid) "/api/v0/staged/products/#{product_guid}/manifest" end
export_installation_path()
click to toggle source
# File lib/opsmgr/api/version20/endpoints.rb, line 79 def export_installation_path '/api/installation_asset_collection' end
import_installation_path()
click to toggle source
# File lib/opsmgr/api/version20/endpoints.rb, line 83 def import_installation_path '/api/installation_asset_collection' end
import_stemcell_path()
click to toggle source
# File lib/opsmgr/api/version20/endpoints.rb, line 91 def import_stemcell_path '/api/stemcells' end
install_post_path()
click to toggle source
# File lib/opsmgr/api/version20/endpoints.rb, line 19 def install_post_path '/api/installation?ignore_warnings=1' end
installation_log_path(id)
click to toggle source
# File lib/opsmgr/api/version20/endpoints.rb, line 39 def installation_log_path(id) "/api/installation/#{id}/logs" end
installation_path()
click to toggle source
# File lib/opsmgr/api/version20/endpoints.rb, line 23 def installation_path '/api/installation' end
installation_settings_get_path()
click to toggle source
# File lib/opsmgr/api/version20/endpoints.rb, line 15 def installation_settings_get_path '/api/installation_settings' end
installation_settings_post_path()
click to toggle source
# File lib/opsmgr/api/version20/endpoints.rb, line 11 def installation_settings_post_path '/api/installation_settings' end
installed_products_path()
click to toggle source
# File lib/opsmgr/api/version20/endpoints.rb, line 67 def installed_products_path '/api/installation_settings/products' end
list_components_path()
click to toggle source
# File lib/opsmgr/api/version20/endpoints.rb, line 59 def list_components_path '/api/components' end
list_products_path()
click to toggle source
# File lib/opsmgr/api/version20/endpoints.rb, line 63 def list_products_path '/api/products' end
login_ensure_availability()
click to toggle source
# File lib/opsmgr/api/version20/endpoints.rb, line 107 def login_ensure_availability '/login/ensure_availability' end
mark_for_deletion_path(product_guid)
click to toggle source
# File lib/opsmgr/api/version20/endpoints.rb, line 87 def mark_for_deletion_path(product_guid) "/api/installation_settings/products/#{product_guid}" end
product_manifest_path(product_guid)
click to toggle source
# File lib/opsmgr/api/version20/endpoints.rb, line 71 def product_manifest_path(product_guid) "/api/manifests/#{product_guid}" end
root_ca_certificate_path()
click to toggle source
# File lib/opsmgr/api/version20/endpoints.rb, line 95 def root_ca_certificate_path '/api/v0/security/root_ca_certificate' end
show_installation_status(id)
click to toggle source
# File lib/opsmgr/api/version20/endpoints.rb, line 35 def show_installation_status(id) "/api/installation/#{id}" end
uaa_create_user()
click to toggle source
# File lib/opsmgr/api/version20/endpoints.rb, line 103 def uaa_create_user '/uaa/Users' end
uaa_get_user_by_username_path(username)
click to toggle source
# File lib/opsmgr/api/version20/endpoints.rb, line 99 def uaa_get_user_by_username_path(username) "/uaa/Users?attributes=id&filter=userName%20eq%20'#{username}'" end
upgrade_product_path(product_guid)
click to toggle source
# File lib/opsmgr/api/version20/endpoints.rb, line 51 def upgrade_product_path(product_guid) "/api/installation_settings/products/#{product_guid}" end
upload_product_form_key()
click to toggle source
# File lib/opsmgr/api/version20/endpoints.rb, line 55 def upload_product_form_key 'product' end
upload_product_path()
click to toggle source
# File lib/opsmgr/api/version20/endpoints.rb, line 43 def upload_product_path '/api/products' end
version()
click to toggle source
# File lib/opsmgr/api/version20/endpoints.rb, line 7 def version VERSION end