1.2.0 • Published 5 years ago

@manageiq/topological_inventory v1.2.0

Weekly downloads
1
License
Apache 2.0
Repository
-
Last release
5 years ago

@manageiq/topological_inventory

@ManageiqTopologicalInventory - JavaScript client for @manageiq/topological_inventory Topological Inventory This SDK is automatically generated by the OpenAPI Generator project:

  • API version: 0.1.0
  • Package version: 0.1.0
  • Build package: org.openapitools.codegen.languages.JavascriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install @manageiq/topological_inventory --save

git

If the library is hosted at a git repository, e.g. https://github.com/GIT_USER_ID/GIT_REPO_ID then install it via:

    npm install GIT_USER_ID/GIT_REPO_ID --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:

module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}

Getting Started

Please follow the installation instruction and execute the following JS code:

var @ManageiqTopologicalInventory = require('@manageiq/topological_inventory');

var defaultClient = @ManageiqTopologicalInventory.ApiClient.instance;
// Configure HTTP basic authorization: UserSecurity
var UserSecurity = defaultClient.authentications['UserSecurity'];
UserSecurity.username = 'YOUR USERNAME'
UserSecurity.password = 'YOUR PASSWORD'

var api = new @ManageiqTopologicalInventory.DefaultApi()
var authentication = new @ManageiqTopologicalInventory.Authentication(); // {Authentication} Authentication attributes to create
api.createAuthentication(authentication).then(function(data) {
  console.log('API called successfully. Returned data: ' + data);
}, function(error) {
  console.error(error);
});

Documentation for API Endpoints

All URIs are relative to https://virtserver.swaggerhub.com/r/insights/platform/topological-inventory/v0.1

ClassMethodHTTP requestDescription
@ManageiqTopologicalInventory.DefaultApicreateAuthenticationPOST /authenticationsCreate a new Authentication
@ManageiqTopologicalInventory.DefaultApicreateEndpointPOST /endpointsCreate a new Endpoint
@ManageiqTopologicalInventory.DefaultApicreateSourcePOST /sourcesCreate a new Source
@ManageiqTopologicalInventory.DefaultApicreateSourceTypePOST /source_typesCreate a new SourceType
@ManageiqTopologicalInventory.DefaultApideleteAuthenticationDELETE /authentications/{id}Delete an existing Authentication
@ManageiqTopologicalInventory.DefaultApideleteEndpointDELETE /endpoints/{id}Delete an existing Endpoint
@ManageiqTopologicalInventory.DefaultApideleteSourceDELETE /sources/{id}Delete an existing Source
@ManageiqTopologicalInventory.DefaultApigetDocumentationGET /openapi.jsonReturn this API document in JSON format
@ManageiqTopologicalInventory.DefaultApilistAuthenticationsGET /authenticationsList Authentications
@ManageiqTopologicalInventory.DefaultApilistContainerGroupContainersGET /container_groups/{id}/containersList Containers for ContainerGroup
@ManageiqTopologicalInventory.DefaultApilistContainerGroupsGET /container_groupsList ContainerGroups
@ManageiqTopologicalInventory.DefaultApilistContainerImagesGET /container_imagesList ContainerImages
@ManageiqTopologicalInventory.DefaultApilistContainerNodeContainerGroupsGET /container_nodes/{id}/container_groupsList ContainerGroups for ContainerNode
@ManageiqTopologicalInventory.DefaultApilistContainerNodesGET /container_nodesList ContainerNodes
@ManageiqTopologicalInventory.DefaultApilistContainerProjectContainerGroupsGET /container_projects/{id}/container_groupsList ContainerGroups for ContainerProject
@ManageiqTopologicalInventory.DefaultApilistContainerProjectContainerTemplatesGET /container_projects/{id}/container_templatesList ContainerTemplates for ContainerProject
@ManageiqTopologicalInventory.DefaultApilistContainerProjectsGET /container_projectsList ContainerProjects
@ManageiqTopologicalInventory.DefaultApilistContainerTemplatesGET /container_templatesList ContainerTemplates
@ManageiqTopologicalInventory.DefaultApilistContainersGET /containersList Containers
@ManageiqTopologicalInventory.DefaultApilistEndpointAuthenticationsGET /endpoints/{id}/authenticationsList Authentications for Endpoint
@ManageiqTopologicalInventory.DefaultApilistEndpointsGET /endpointsList Endpoints
@ManageiqTopologicalInventory.DefaultApilistFlavorsGET /flavorsList Flavors
@ManageiqTopologicalInventory.DefaultApilistOrchestrationStacksGET /orchestration_stacksList OrchestrationStacks
@ManageiqTopologicalInventory.DefaultApilistServiceInstancesGET /service_instancesList ServiceInstances
@ManageiqTopologicalInventory.DefaultApilistServiceOfferingIconsGET /service_offering_iconsList ServiceOfferingIcons
@ManageiqTopologicalInventory.DefaultApilistServiceOfferingServiceInstancesGET /service_offerings/{id}/service_instancesList ServiceInstances for ServiceOffering
@ManageiqTopologicalInventory.DefaultApilistServiceOfferingServicePlansGET /service_offerings/{id}/service_plansList ServicePlans for ServiceOffering
@ManageiqTopologicalInventory.DefaultApilistServiceOfferingsGET /service_offeringsList ServiceOfferings
@ManageiqTopologicalInventory.DefaultApilistServicePlanServiceInstancesGET /service_plans/{id}/service_instancesList ServiceInstances for ServicePlan
@ManageiqTopologicalInventory.DefaultApilistServicePlansGET /service_plansList ServicePlans
@ManageiqTopologicalInventory.DefaultApilistSourceAvailabilitiesGET /sources/{id}/availabilitiesList Availabilities for Source
@ManageiqTopologicalInventory.DefaultApilistSourceContainerGroupsGET /sources/{id}/container_groupsList ContainerGroups for Source
@ManageiqTopologicalInventory.DefaultApilistSourceContainerImagesGET /sources/{id}/container_imagesList ContainerImages for Source
@ManageiqTopologicalInventory.DefaultApilistSourceContainerNodesGET /sources/{id}/container_nodesList ContainerNodes for Source
@ManageiqTopologicalInventory.DefaultApilistSourceContainerProjectsGET /sources/{id}/container_projectsList ContainerProjects for Source
@ManageiqTopologicalInventory.DefaultApilistSourceContainerTemplatesGET /sources/{id}/container_templatesList ContainerTemplates for Source
@ManageiqTopologicalInventory.DefaultApilistSourceContainersGET /sources/{id}/containersList Containers for Source
@ManageiqTopologicalInventory.DefaultApilistSourceEndpointsGET /sources/{id}/endpointsList Endpoints for Source
@ManageiqTopologicalInventory.DefaultApilistSourceOrchestrationStacksGET /sources/{id}/orchestration_stacksList OrchestrationStacks for Source
@ManageiqTopologicalInventory.DefaultApilistSourceServiceInstancesGET /sources/{id}/service_instancesList ServiceInstances for Source
@ManageiqTopologicalInventory.DefaultApilistSourceServiceOfferingsGET /sources/{id}/service_offeringsList ServiceOfferings for Source
@ManageiqTopologicalInventory.DefaultApilistSourceServicePlansGET /sources/{id}/service_plansList ServicePlans for Source
@ManageiqTopologicalInventory.DefaultApilistSourceTypeAvailabilitiesGET /source_types/{id}/availabilitiesList Availabilities for SourceType
@ManageiqTopologicalInventory.DefaultApilistSourceTypeSourcesGET /source_types/{id}/sourcesList Sources for SourceType
@ManageiqTopologicalInventory.DefaultApilistSourceTypesGET /source_typesList SourceTypes
@ManageiqTopologicalInventory.DefaultApilistSourceVmsGET /sources/{id}/vmsList Vms for Source
@ManageiqTopologicalInventory.DefaultApilistSourceVolumeTypesGET /sources/{id}/volume_typesList VolumeTypes for Source
@ManageiqTopologicalInventory.DefaultApilistSourceVolumesGET /sources/{id}/volumesList Volumes for Source
@ManageiqTopologicalInventory.DefaultApilistSourcesGET /sourcesList Sources
@ManageiqTopologicalInventory.DefaultApilistTagsGET /tagsList Tags
@ManageiqTopologicalInventory.DefaultApilistTasksGET /tasksList Tasks
@ManageiqTopologicalInventory.DefaultApilistVmVolumeAttachmentsGET /vms/{id}/volume_attachmentsList VolumeAttachments for Vm
@ManageiqTopologicalInventory.DefaultApilistVmVolumesGET /vms/{id}/volumesList Volumes for Vm
@ManageiqTopologicalInventory.DefaultApilistVmsGET /vmsList Vms
@ManageiqTopologicalInventory.DefaultApilistVolumeAttachmentsGET /volume_attachmentsList VolumeAttachments
@ManageiqTopologicalInventory.DefaultApilistVolumeTypesGET /volume_typesList VolumeTypes
@ManageiqTopologicalInventory.DefaultApilistVolumesGET /volumesList Volumes
@ManageiqTopologicalInventory.DefaultApiorderServicePlanPOST /service_plans/{id}/orderOrder an existing ServicePlan
@ManageiqTopologicalInventory.DefaultApishowAuthenticationGET /authentications/{id}Show an existing Authentication
@ManageiqTopologicalInventory.DefaultApishowContainerGET /containers/{id}Show an existing Container
@ManageiqTopologicalInventory.DefaultApishowContainerGroupGET /container_groups/{id}Show an existing ContainerGroup
@ManageiqTopologicalInventory.DefaultApishowContainerImageGET /container_images/{id}Show an existing ContainerImage
@ManageiqTopologicalInventory.DefaultApishowContainerNodeGET /container_nodes/{id}Show an existing ContainerNode
@ManageiqTopologicalInventory.DefaultApishowContainerProjectGET /container_projects/{id}Show an existing ContainerProject
@ManageiqTopologicalInventory.DefaultApishowContainerTemplateGET /container_templates/{id}Show an existing ContainerTemplate
@ManageiqTopologicalInventory.DefaultApishowEndpointGET /endpoints/{id}Show an existing Endpoint
@ManageiqTopologicalInventory.DefaultApishowFlavorGET /flavors/{id}Show an existing Flavor
@ManageiqTopologicalInventory.DefaultApishowOrchestrationStackGET /orchestration_stacks/{id}Show an existing OrchestrationStack
@ManageiqTopologicalInventory.DefaultApishowServiceInstanceGET /service_instances/{id}Show an existing ServiceInstance
@ManageiqTopologicalInventory.DefaultApishowServiceOfferingGET /service_offerings/{id}Show an existing ServiceOffering
@ManageiqTopologicalInventory.DefaultApishowServiceOfferingIconGET /service_offering_icons/{id}Show an existing ServiceOfferingIcon
@ManageiqTopologicalInventory.DefaultApishowServicePlanGET /service_plans/{id}Show an existing ServicePlan
@ManageiqTopologicalInventory.DefaultApishowSourceGET /sources/{id}Show an existing Source
@ManageiqTopologicalInventory.DefaultApishowSourceTypeGET /source_types/{id}Show an existing SourceType
@ManageiqTopologicalInventory.DefaultApishowTagGET /tags/{id}Show an existing Tag
@ManageiqTopologicalInventory.DefaultApishowTaskGET /tasks/{id}Show an existing Task
@ManageiqTopologicalInventory.DefaultApishowVmGET /vms/{id}Show an existing Vm
@ManageiqTopologicalInventory.DefaultApishowVolumeGET /volumes/{id}Show an existing Volume
@ManageiqTopologicalInventory.DefaultApishowVolumeAttachmentGET /volume_attachments/{id}Show an existing VolumeAttachment
@ManageiqTopologicalInventory.DefaultApishowVolumeTypeGET /volume_types/{id}Show an existing VolumeType
@ManageiqTopologicalInventory.DefaultApiupdateAuthenticationPATCH /authentications/{id}Update an existing Authentication
@ManageiqTopologicalInventory.DefaultApiupdateEndpointPATCH /endpoints/{id}Update an existing Endpoint
@ManageiqTopologicalInventory.DefaultApiupdateSourcePATCH /sources/{id}Update an existing Source
@ManageiqTopologicalInventory.DefaultApiupdateTaskPATCH /tasks/{id}Update an existing Task

Documentation for Models

Documentation for Authorization

UserSecurity

  • Type: HTTP basic authentication
1.2.0

5 years ago

1.1.0

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago