eilam_test

EilamTest - the Ruby gem for the Site Manager API

Site Manager API

This SDK is automatically generated by the OpenAPI Generator project:

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.RubyClientCodegen

Installation

Build a gem

To build the Ruby code into a gem:

gem build eilam_test.gemspec

Then either install the gem locally:

gem install ./eilam_test-1.0.0.gem

(for development, run gem install --dev ./eilam_test-1.0.0.gem to install the development dependencies)

or publish the gem to a gem hosting service, e.g. RubyGems.

Finally add this to the Gemfile:

gem 'eilam_test', '~> 1.0.0'

Install from Git

If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:

gem 'eilam_test', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'

Include the Ruby code directly

Include the Ruby code directly using -I as follows:

ruby -Ilib script.rb

Getting Started

Please follow the installation procedure and then run the following code:

# Load the gem
require 'eilam_test'

# Setup authorization
EilamTest.configure do |config|
  # Configure Bearer authorization: bearerAuth
  config.access_token = 'YOUR_BEARER_TOKEN'
end

api_instance = EilamTest::AbstractCapabilityApi.new

begin
  result = api_instance.abstract_capabilities_get
  p result
rescue EilamTest::ApiError => e
  puts "Exception when calling AbstractCapabilityApi->abstract_capabilities_get: #{e}"
end

Documentation for API Endpoints

All URIs are relative to http://localhost:9000/site-manager/api/v1/engine

Class Method HTTP request Description
EilamTest::AbstractCapabilityApi abstract_capabilities_get GET /abstract-capabilities
EilamTest::AbstractCapabilityApi abstract_capabilities_pk_delete DELETE /abstract-capabilities/pk
EilamTest::AbstractCapabilityApi abstract_capabilities_pk_get GET /abstract-capabilities/pk
EilamTest::AbstractCapabilityApi abstract_capabilities_post POST /abstract-capabilities
EilamTest::AccountApi accounts_get GET /accounts
EilamTest::AccountApi accounts_pk_delete DELETE /accounts/pk
EilamTest::AccountApi accounts_pk_get GET /accounts/pk
EilamTest::AccountApi accounts_pk_put PUT /accounts/pk
EilamTest::AccountApi accounts_post POST /accounts
EilamTest::AddressApi addresses_get GET /addresses
EilamTest::AddressApi addresses_pk_delete DELETE /addresses/pk
EilamTest::AddressApi addresses_pk_get GET /addresses/pk
EilamTest::AddressApi addresses_post POST /addresses
EilamTest::AuthenticationApi token_auth_post POST /token-auth
EilamTest::AutoSDEProjectApi autosde_projects_get GET /autosde-projects
EilamTest::AutoSDEProjectApi autosde_projects_pk_delete DELETE /autosde-projects/pk
EilamTest::AutoSDEProjectApi autosde_projects_pk_get GET /autosde-projects/pk
EilamTest::AutoSDEProjectApi autosde_projects_post POST /autosde-projects
EilamTest::AutoSDERoleApi autosde_roles_get GET /autosde-roles
EilamTest::AutoSDERoleApi autosde_roles_pk_delete DELETE /autosde-roles/pk
EilamTest::AutoSDERoleApi autosde_roles_pk_get GET /autosde-roles/pk
EilamTest::AutoSDERoleApi autosde_roles_post POST /autosde-roles
EilamTest::CapabilityTranslationApi capability_translations_get GET /capability-translations
EilamTest::CapabilityTranslationApi capability_translations_pk_delete DELETE /capability-translations/pk
EilamTest::CapabilityTranslationApi capability_translations_pk_get GET /capability-translations/pk
EilamTest::CapabilityTranslationApi capability_translations_post POST /capability-translations
EilamTest::CeleryConfigApi celery_config_get GET /celery-config
EilamTest::CeleryConfigApi celery_config_post POST /celery-config
EilamTest::EventApi events_get GET /events
EilamTest::EventApi events_pk_delete DELETE /events/pk
EilamTest::EventApi events_pk_get GET /events/pk
EilamTest::EventApi events_post POST /events
EilamTest::HostApi hosts_get GET /hosts
EilamTest::HostApi hosts_pk_delete DELETE /hosts/pk
EilamTest::HostApi hosts_pk_get GET /hosts/pk
EilamTest::HostApi hosts_post POST /hosts
EilamTest::HostClusterApi host_clusters_get GET /host-clusters
EilamTest::HostClusterApi host_clusters_pk_delete DELETE /host-clusters/pk
EilamTest::HostClusterApi host_clusters_pk_get GET /host-clusters/pk
EilamTest::HostClusterApi host_clusters_post POST /host-clusters
EilamTest::HostClusterMembershipApi host_cluster_membership_get GET /host-cluster-membership
EilamTest::HostClusterMembershipApi host_cluster_membership_pk_delete DELETE /host-cluster-membership/pk
EilamTest::HostClusterMembershipApi host_cluster_membership_pk_get GET /host-cluster-membership/pk
EilamTest::HostClusterMembershipApi host_cluster_membership_post POST /host-cluster-membership
EilamTest::HostClusterVolumeMappingApi host_clusters_mapping_get GET /host-clusters-mapping
EilamTest::HostClusterVolumeMappingApi host_clusters_mapping_pk_delete DELETE /host-clusters-mapping/pk
EilamTest::HostClusterVolumeMappingApi host_clusters_mapping_pk_get GET /host-clusters-mapping/pk
EilamTest::HostClusterVolumeMappingApi host_clusters_mapping_post POST /host-clusters-mapping
EilamTest::HostVolumeConnectionApi host_volume_connection_get GET /host-volume-connection
EilamTest::HostVolumeConnectionApi host_volume_connection_pk_delete DELETE /host-volume-connection/pk
EilamTest::HostVolumeConnectionApi host_volume_connection_pk_get GET /host-volume-connection/pk
EilamTest::HostVolumeConnectionApi host_volume_connection_post POST /host-volume-connection
EilamTest::JobApi jobs_get GET /jobs
EilamTest::JobApi jobs_pk_delete DELETE /jobs/pk
EilamTest::JobApi jobs_pk_get GET /jobs/pk
EilamTest::JobApi jobs_post POST /jobs
EilamTest::NativeCapabilityApi native_capabilities_get GET /native-capabilities
EilamTest::NativeCapabilityApi native_capabilities_pk_delete DELETE /native-capabilities/pk
EilamTest::NativeCapabilityApi native_capabilities_pk_get GET /native-capabilities/pk
EilamTest::NativeCapabilityApi native_capabilities_post POST /native-capabilities
EilamTest::ProfileApi profiles_get GET /profiles
EilamTest::ProfileApi profiles_pk_delete DELETE /profiles/pk
EilamTest::ProfileApi profiles_pk_get GET /profiles/pk
EilamTest::ProfileApi profiles_post POST /profiles
EilamTest::ProvisioningStrategyApi provisioning_strategy_get GET /provisioning-strategy
EilamTest::ProvisioningStrategyApi provisioning_strategy_pk_delete DELETE /provisioning-strategy/pk
EilamTest::ProvisioningStrategyApi provisioning_strategy_pk_get GET /provisioning-strategy/pk
EilamTest::ProvisioningStrategyApi provisioning_strategy_post POST /provisioning-strategy
EilamTest::RefreshSystemApi refresh_system_post POST /refresh-system
EilamTest::ServiceApi services_get GET /services
EilamTest::ServiceApi services_pk_delete DELETE /services/pk
EilamTest::ServiceApi services_pk_get GET /services/pk
EilamTest::ServiceApi services_pk_put PUT /services/pk
EilamTest::ServiceApi services_post POST /services
EilamTest::ServiceResourceAttachmentApi service_resource_attchment_get GET /service-resource-attchment
EilamTest::ServiceResourceAttachmentApi service_resource_attchment_pk_delete DELETE /service-resource-attchment/pk
EilamTest::ServiceResourceAttachmentApi service_resource_attchment_pk_get GET /service-resource-attchment/pk
EilamTest::ServiceResourceAttachmentApi service_resource_attchment_post POST /service-resource-attchment
EilamTest::SnapshotApi snapshots_get GET /snapshots
EilamTest::SnapshotApi snapshots_pk_delete DELETE /snapshots/pk
EilamTest::SnapshotApi snapshots_pk_get GET /snapshots/pk
EilamTest::SnapshotApi snapshots_post POST /snapshots
EilamTest::StorageHostApi storage_hosts_get GET /storage-hosts
EilamTest::StorageHostApi storage_hosts_pk_delete DELETE /storage-hosts/pk
EilamTest::StorageHostApi storage_hosts_pk_get GET /storage-hosts/pk
EilamTest::StorageHostApi storage_hosts_pk_put PUT /storage-hosts/pk
EilamTest::StorageHostApi storage_hosts_post POST /storage-hosts
EilamTest::StorageHostVolumeMappingApi storage_hosts_mapping_get GET /storage-hosts-mapping
EilamTest::StorageHostVolumeMappingApi storage_hosts_mapping_pk_delete DELETE /storage-hosts-mapping/pk
EilamTest::StorageHostVolumeMappingApi storage_hosts_mapping_pk_get GET /storage-hosts-mapping/pk
EilamTest::StorageHostVolumeMappingApi storage_hosts_mapping_post POST /storage-hosts-mapping
EilamTest::StorageHostWWPNCandidatesApi storage_hosts_wwpn_candidates_get GET /storage-hosts-wwpn-candidates
EilamTest::StorageResourceApi storage_resources_get GET /storage-resources
EilamTest::StorageResourceApi storage_resources_pk_delete DELETE /storage-resources/pk
EilamTest::StorageResourceApi storage_resources_pk_get GET /storage-resources/pk
EilamTest::StorageResourceApi storage_resources_pk_put PUT /storage-resources/pk
EilamTest::StorageResourceApi storage_resources_post POST /storage-resources
EilamTest::StorageSystemApi storage_systems_get GET /storage-systems
EilamTest::StorageSystemApi storage_systems_pk_delete DELETE /storage-systems/pk
EilamTest::StorageSystemApi storage_systems_pk_get GET /storage-systems/pk
EilamTest::StorageSystemApi storage_systems_pk_put PUT /storage-systems/pk
EilamTest::StorageSystemApi storage_systems_post POST /storage-systems
EilamTest::SystemTypeApi system_types_get GET /system-types
EilamTest::SystemTypeApi system_types_pk_delete DELETE /system-types/pk
EilamTest::SystemTypeApi system_types_pk_get GET /system-types/pk
EilamTest::SystemTypeApi system_types_post POST /system-types
EilamTest::UserApi autosde_users_get GET /autosde-users
EilamTest::UserApi autosde_users_pk_delete DELETE /autosde-users/pk
EilamTest::UserApi autosde_users_pk_get GET /autosde-users/pk
EilamTest::UserApi autosde_users_pk_put PUT /autosde-users/pk
EilamTest::UserApi autosde_users_post POST /autosde-users
EilamTest::ValidateSystemApi validate_system_post POST /validate-system
EilamTest::VolumeApi volumes_get GET /volumes
EilamTest::VolumeApi volumes_pk_delete DELETE /volumes/pk
EilamTest::VolumeApi volumes_pk_get GET /volumes/pk
EilamTest::VolumeApi volumes_pk_put PUT /volumes/pk
EilamTest::VolumeApi volumes_post POST /volumes
EilamTest::VolumeSafeDeleteApi safe_deletes_get GET /safe-deletes
EilamTest::VolumeSafeDeleteApi safe_deletes_pk_delete DELETE /safe-deletes/pk
EilamTest::VolumeSafeDeleteApi safe_deletes_pk_get GET /safe-deletes/pk
EilamTest::VolumeSafeDeleteApi safe_deletes_post POST /safe-deletes

Documentation for Models

Documentation for Authorization

bearerAuth

  • Type: Bearer authentication