Package: nuvolos-client-api
Nuvolos Client APINo description provided (generated by Openapi Generatorhttps://github.com/openapitools/openapi-generator)This Python package is automatically generated by theOpenAPI Generatorproject:API version: prodPackage version: 1.0.2Build package: org.openapitools.codegen.languages.PythonClientCodegenRequirements.Python 3.7+Installation & Usagepip installIf the python package is hosted on a repository, you can install directly using:pipinstallgit+https://github.com/GIT_USER_ID/GIT_REPO_ID.git(you may need to runpipwith root permission:sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)Then import the package:importnuvolos_client_apiSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importnuvolos_client_apiTestsExecutepytestto run the tests.Getting StartedPlease follow theinstallation procedureand then run the following:importtimeimportnuvolos_client_apifromnuvolos_client_api.restimportApiExceptionfrompprintimportpprint# Defining the host is optional and defaults to http://localhost# See configuration.py for a list of all supported configuration parameters.configuration=nuvolos_client_api.Configuration(host="http://localhost")# The client must configure the authentication and authorization parameters# in accordance with the API server security policy.# Examples for each auth method are provided below, use the example that# satisfies your auth use case.# Configure API key authorization: ApiKeyAuthconfiguration.api_key['ApiKeyAuth']=os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'# Enter a context with an instance of the API clientwithnuvolos_client_api.ApiClient(configuration)asapi_client:# Create an instance of the API classapi_instance=nuvolos_client_api.AppsV1Api(api_client)org_slug='org_slug_example'# str |instance_slug='instance_slug_example'# str |space_slug='space_slug_example'# str |snapshot_slug='snapshot_slug_example'# str |try:api_response=api_instance.get_apps(org_slug,instance_slug,space_slug,snapshot_slug)print("The response of AppsV1Api->get_apps:\n")pprint(api_response)exceptApiExceptionase:print("Exception when calling AppsV1Api->get_apps:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttp://localhostClassMethodHTTP requestDescriptionAppsV1Apiget_appsGET/apps/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug}/snapshot/{snapshot_slug}InstancesV1Apiget_instancesGET/instances/v1/org/{org_slug}/space/{space_slug}OrganizationsV1Apiget_orgsGET/orgs/v1SnapshotsV1Apiget_snapshotsGET/snapshots/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug}SpacesV1Apiget_spacesGET/spaces/v1/org/{slug}WorkloadsV1Apicreate_workloadPOST/workloads/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug}/app/{app_slug}WorkloadsV1Apidelete_workloadDELETE/workloads/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug}/app/{app_slug}WorkloadsV1Apiexecute_commandPOST/workloads/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug}/app/{app_slug}/executeWorkloadsV1Apiget_nodepoolsGET/workloads/v1/nodepoolsWorkloadsV1Apiget_workloadsGET/workloads/v1WorkloadsV1Apiget_workloads_for_appGET/workloads/v1/org/{org_slug}/space/{space_slug}/instance/{instance_slug}/app/{app_slug}Documentation For ModelsAPINodePoolApplicationClientApiErrorExecuteCommandExecuteCommandResponseInstanceOrgSnapshotSpaceStartAppTaskWorkloadDetailedDocumentation For AuthorizationAuthentication schemes defined for the API:ApiKeyAuthType: API keyAPI key parameter name: AuthorizationLocation: HTTP headerAuthor