cloudendure_api

This Python package is automatically generated by the Swagger Codegen project:

  • API version: 5
  • Package version: 0.1.7
  • Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen

Requirements

Python 3.6+

Installation & Usage

pip install via Poetry

If the python package is hosted on Github, you can install directly from Github

poetry install cloudendure

Then import the package:

from cloudendure import cloudendure_api

Getting Started

Please follow the installation procedure and then run the following:

import time

from cloudendure import cloudendure_api
from cloudendure.cloudendure_api.rest import ApiException

# create an instance of the API class
api_instance = cloudendure_api.AccountApi(cloudendure_api.ApiClient(configuration))
account_id = 'account_id_example' # str |

try:
    # Get Account information
    api_response = api_instance.accounts_account_id_get(account_id)
    print(api_response)
except ApiException as e:
    print('Exception when calling AccountApi->accounts_account_id_get: %s\n '% e)

Documentation for API Endpoints

All URIs are relative to https://console.cloudendure.com/api/latest

Class Method HTTP request Description
AccountApi accounts_account_id_get GET /accounts/{accountId} Get Account information
ActionsApi projects_project_id_find_files_post POST /projects/{projectId}/findFiles Search for files in a backup project
ActionsApi projects_project_id_jobs_get GET /projects/{projectId}/jobs List Jobs
ActionsApi projects_project_id_jobs_job_id_get GET /projects/{projectId}/jobs/{jobId} Get Job
ActionsApi projects_project_id_launch_machines_post POST /projects/{projectId}/launchMachines Launch target machines
ActionsApi projects_project_id_launch_restore_servers_post POST /projects/{projectId}/launchRestoreServers Launch restore servers @todo
ActionsApi projects_project_id_move_machines_post POST /projects/{projectId}/moveMachines Moves machines to another project
ActionsApi projects_project_id_pause_replication_post POST /projects/{projectId}/pauseReplication Pause replication
ActionsApi projects_project_id_replicas_delete DELETE /projects/{projectId}/replicas Perform Cleanup
ActionsApi projects_project_id_restore_files_post POST /projects/{projectId}/restoreFiles Restore selected files in a backup project
ActionsApi projects_project_id_reverse_replication_post POST /projects/{projectId}/reverseReplication Reverse replication direction
ActionsApi projects_project_id_start_replication_post POST /projects/{projectId}/startReplication Start replication
ActionsApi projects_project_id_stop_replication_post POST /projects/{projectId}/stopReplication Stop replication
AuthenticationApi login_post POST /login Login
AuthenticationApi logout_post POST /logout Logout
BlueprintApi projects_project_id_blueprints_blueprint_id_get GET /projects/{projectId}/blueprints/{blueprintId} Get Blueprint
BlueprintApi projects_project_id_blueprints_blueprint_id_patch PATCH /projects/{projectId}/blueprints/{blueprintId} Configure Blueprint
BlueprintApi projects_project_id_blueprints_get GET /projects/{projectId}/blueprints List Blueprints
BlueprintApi projects_project_id_blueprints_post POST /projects/{projectId}/blueprints Create Blueprint
CloudApi cloud_credentials_creds_id_regions_get GET /cloudCredentials/{credsId}/regions List Regions
CloudApi cloud_credentials_creds_id_regions_region_id_delete DELETE /cloudCredentials/{credsId}/regions/{regionId} Delete region (VCenter)
CloudApi cloud_credentials_creds_id_regions_region_id_get GET /cloudCredentials/{credsId}/regions/{regionId} Get Region
CloudApi cloud_credentials_creds_id_regions_region_id_patch PATCH /cloudCredentials/{credsId}/regions/{regionId} Patch region (rename)
CloudApi clouds_get GET /clouds List Clouds
CloudCredentialsApi cloud_credentials_creds_id_get GET /cloudCredentials/{credsId} Get Credentials
CloudCredentialsApi cloud_credentials_creds_id_patch PATCH /cloudCredentials/{credsId} Change Credentials
CloudCredentialsApi cloud_credentials_get GET /cloudCredentials List Credentials
CloudCredentialsApi cloud_credentials_post POST /cloudCredentials Create Credentials
DefaultApi accounts_account_id_access_get GET /accounts/{accountId}/access get a temporary token by email
DefaultApi extended_account_info_get GET /extendedAccountInfo Returns the extended current account information.
DefaultApi projects_assign_users_post POST /projects/assignUsers todo
DefaultApi projects_project_id_audit_log_get GET /projects/{projectId}/auditLog Get audit log
DefaultApi projects_project_id_storage_get GET /projects/{projectId}/storage project's storage
DefaultApi projects_remove_users_post POST /projects/removeUsers todo
DefaultApi replace_api_token_post POST /replaceApiToken Replaces API token
DefaultApi set_password_post POST /setPassword Set password for invited user
DefaultApi users_assign_roles_post POST /users/assignRoles Add roles to users
DefaultApi users_post POST /users Create a new User
DefaultApi users_revoke_roles_post POST /users/revokeRoles Add roles to users
LicensingApi licenses_get GET /licenses List Licenses
LicensingApi licenses_license_id_get GET /licenses/{licenseId} Get License
MachinesApi projects_project_id_machines_delete DELETE /projects/{projectId}/machines Uninstall agent
MachinesApi projects_project_id_machines_get GET /projects/{projectId}/machines List Machines
MachinesApi projects_project_id_machines_machine_id_get GET /projects/{projectId}/machines/{machineId} Get a specific machine.
MachinesApi projects_project_id_machines_machine_id_patch PATCH /projects/{projectId}/machines/{machineId} Update a machine. Accepts only Launch time updates.
MachinesApi projects_project_id_machines_patch PATCH /projects/{projectId}/machines Batch-update multiple machines
MachinesApi projects_project_id_replicas_replica_id_get GET /projects/{projectId}/replicas/{replicaId} Get Target Machine
ProjectApi projects_get GET /projects List Projects
ProjectApi projects_post POST /projects Create Project
ProjectApi projects_project_id_delete DELETE /projects/{projectId} Delete Project and all sub-resources including cloud assets other than launched target machines
ProjectApi projects_project_id_get GET /projects/{projectId} Get Project
ProjectApi projects_project_id_patch PATCH /projects/{projectId} Update Project (including partial update)
ProjectApi projects_project_id_tags_get GET /projects/{projectId}/tags Gets all instance tags of all machines in the project.
RecoveryPlansApi projects_project_id_recovery_plans_get GET /projects/{projectId}/recoveryPlans Gets all recovery plans for the project.
RecoveryPlansApi projects_project_id_recovery_plans_post POST /projects/{projectId}/recoveryPlans Creates a new recovery plan.
RecoveryPlansApi projects_project_id_recovery_plans_recovery_plan_id_delete DELETE /projects/{projectId}/recoveryPlans/{recoveryPlanId} Deletes a recovery plan.
RecoveryPlansApi projects_project_id_recovery_plans_recovery_plan_id_get GET /projects/{projectId}/recoveryPlans/{recoveryPlanId} Gets a recovery plan.
RecoveryPlansApi projects_project_id_recovery_plans_recovery_plan_id_patch PATCH /projects/{projectId}/recoveryPlans/{recoveryPlanId} Updates a new recovery plan.
RecoveryPlansApi projects_project_id_run_recovery_plan_post POST /projects/{projectId}/runRecoveryPlan Launch a recovery plan.
ReplicationApi projects_project_id_machines_machine_id_bandwidth_throttling_get GET /projects/{projectId}/machines/{machineId}/bandwidthThrottling Get value of network bandwidth throttling setting for Machine
ReplicationApi projects_project_id_machines_machine_id_bandwidth_throttling_patch PATCH /projects/{projectId}/machines/{machineId}/bandwidthThrottling Set value of network bandwidth throttling setting for Machine
ReplicationApi projects_project_id_machines_machine_id_delete DELETE /projects/{projectId}/machines/{machineId} Uninstall agent
ReplicationApi projects_project_id_machines_machine_id_pointsintime_get GET /projects/{projectId}/machines/{machineId}/pointsintime List Available Points-in-time
ReplicationApi projects_project_id_replication_configurations_get GET /projects/{projectId}/replicationConfigurations List Replication Configurations
ReplicationApi projects_project_id_replication_configurations_post POST /projects/{projectId}/replicationConfigurations Create Replication Configuration
ReplicationApi projects_project_id_replication_configurations_replication_configuration_id_patch PATCH /projects/{projectId}/replicationConfigurations/{replicationConfigurationId} Modify Replication Configuration
UserApi change_password_post POST /changePassword Change Password
UserApi me_get GET /me Me
UserApi users_user_id_delete DELETE /users/{userId} Delete a User
UserApi users_user_id_patch PATCH /users/{userId} Modify user settings

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.