ha-sdk-python 1.0.10__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ha_sdk_python-1.0.10/LICENSE +21 -0
- ha_sdk_python-1.0.10/PKG-INFO +131 -0
- ha_sdk_python-1.0.10/README.md +108 -0
- ha_sdk_python-1.0.10/ha_sdk_python/__init__.py +490 -0
- ha_sdk_python-1.0.10/ha_sdk_python/api/__init__.py +15 -0
- ha_sdk_python-1.0.10/ha_sdk_python/api/backups_api.py +2434 -0
- ha_sdk_python-1.0.10/ha_sdk_python/api/console_access_api.py +334 -0
- ha_sdk_python-1.0.10/ha_sdk_python/api/dns_api.py +896 -0
- ha_sdk_python-1.0.10/ha_sdk_python/api/firewall_api.py +1534 -0
- ha_sdk_python-1.0.10/ha_sdk_python/api/monitoring_api.py +1234 -0
- ha_sdk_python-1.0.10/ha_sdk_python/api/power_management_api.py +2434 -0
- ha_sdk_python-1.0.10/ha_sdk_python/api/security_api.py +1243 -0
- ha_sdk_python-1.0.10/ha_sdk_python/api/service_management_api.py +1797 -0
- ha_sdk_python-1.0.10/ha_sdk_python/api/snapshots_api.py +1534 -0
- ha_sdk_python-1.0.10/ha_sdk_python/api/user_management_api.py +331 -0
- ha_sdk_python-1.0.10/ha_sdk_python/api/vps_management_api.py +2399 -0
- ha_sdk_python-1.0.10/ha_sdk_python/api_client.py +805 -0
- ha_sdk_python-1.0.10/ha_sdk_python/api_response.py +21 -0
- ha_sdk_python-1.0.10/ha_sdk_python/configuration.py +593 -0
- ha_sdk_python-1.0.10/ha_sdk_python/exceptions.py +218 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/__init__.py +227 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/backup_create_response_data.py +97 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/backup_creation_info.py +95 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/backup_item.py +95 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/backup_mode.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/backup_mode_type.py +38 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/backup_schedule.py +98 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/backup_schedule_list_response_data.py +97 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/bad_request_error_response_content.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/billing_cycle.py +37 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/cancel_vps_request_content.py +90 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/cancel_vps_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/catalogue_config_option.py +105 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/catalogue_config_suboption.py +96 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/catalogue_currency.py +91 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/catalogue_data.py +107 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/catalogue_group.py +99 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/catalogue_plan.py +108 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/catalogue_product.py +131 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/change_password_request_content.py +90 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/change_password_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/compression_method.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/compression_type.py +39 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/create_backup_request_content.py +93 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/create_backup_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/create_backup_schedule_request_content.py +108 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/create_backup_schedule_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/create_firewall_rule_request_content.py +115 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/create_firewall_rule_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/create_notification_request_content.py +111 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/create_notification_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/create_order_domain_item.py +101 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/create_order_items.py +105 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/create_order_product.py +108 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/create_order_product_item.py +101 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/create_order_request_content.py +97 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/create_order_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/create_order_response_data.py +126 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/create_order_total.py +91 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/create_power_task_request_content.py +160 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/create_power_task_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/create_rdns_record_request_content.py +96 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/create_rdns_record_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/create_rdns_record_response_data.py +91 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/create_snapshot_request_content.py +91 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/create_snapshot_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/day_of_week.py +42 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/delete_backup_request_content.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/delete_backup_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/delete_backup_schedule_request_content.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/delete_backup_schedule_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/delete_firewall_rule_request_content.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/delete_firewall_rule_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/delete_notification_request_content.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/delete_notification_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/delete_power_task_request_content.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/delete_power_task_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/delete_rdns_record_request_content.py +88 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/delete_rdns_record_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/delete_snapshot_request_content.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/delete_snapshot_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/edit_backup_schedule_request_content.py +110 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/edit_backup_schedule_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/firewall_list_response_data.py +125 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/firewall_move_direction.py +39 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/firewall_move_response_data.py +91 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/firewall_option.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/firewall_rule.py +113 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/firewall_rule_action.py +38 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/firewall_rule_type.py +38 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/forbidden_error_response_content.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/get_catalogue_request_content.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/get_catalogue_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/get_no_vnc_console_request_content.py +87 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/get_no_vnc_console_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/get_private_ssh_key_request_content.py +87 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/get_private_ssh_key_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/get_public_ssh_key_request_content.py +87 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/get_public_ssh_key_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/get_vps_config_request_content.py +87 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/get_vps_config_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/get_vps_details_request_content.py +87 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/get_vps_details_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/internal_service_error_response_content.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/invalid_state_error_response_content.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/list_backup_schedules_request_content.py +87 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/list_backup_schedules_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/list_backups_request_content.py +87 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/list_backups_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/list_firewall_rules_request_content.py +87 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/list_firewall_rules_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/list_isos_request_content.py +87 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/list_isos_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/list_isos_response_data.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/list_notifications_request_content.py +87 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/list_notifications_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/list_orders_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/list_orders_response_data.py +95 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/list_power_tasks_request_content.py +87 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/list_power_tasks_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/list_rdns_records_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/list_rdns_response_data.py +115 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/list_reinstall_os_request_content.py +87 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/list_reinstall_os_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/list_reinstall_os_response_data.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/list_snapshots_request_content.py +87 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/list_snapshots_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/list_vps_services_data.py +95 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/list_vps_services_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/mount_iso_request_content.py +91 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/mount_iso_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/move_firewall_rule_request_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/move_firewall_rule_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/no_vnc_console_details.py +95 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/no_vnc_console_response_data.py +93 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/notification.py +105 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/notification_create_response_data.py +93 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/notification_dialog_rules.py +95 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/notification_list_response_data.py +103 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/notification_status.py +43 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/operation_status.py +37 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/order.py +109 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/order_last_attempt.py +93 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/order_warning.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/payment_error.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/payment_status.py +38 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/power_task.py +105 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/power_task_action.py +38 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/power_task_create_response_data.py +93 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/power_task_dialog_rules.py +95 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/power_task_job_type.py +38 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/power_task_list_response_data.py +107 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/public_ssh_key_response_data.py +93 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/rdns_available_item.py +111 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/rdns_pool.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/rdns_record.py +109 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/reboot_vps_request_content.py +87 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/reboot_vps_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/resource_not_found_error_response_content.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/restore_backup_request_content.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/restore_backup_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/retry_payment_request_content.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/retry_payment_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/retry_payment_response_data.py +98 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/retry_payment_total.py +91 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/rollback_snapshot_request_content.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/rollback_snapshot_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/service_backups_response_data.py +131 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/service_snapshots_response_data.py +101 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/service_unavailable_error_response_content.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/shutdown_vps_request_content.py +87 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/shutdown_vps_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/snapshot_create_response_data.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/snapshot_item.py +95 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/ssh_key_details.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/start_vps_request_content.py +87 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/start_vps_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/stop_vps_request_content.py +87 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/stop_vps_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/too_many_requests_error_response_content.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/trigger_reinstall_request_content.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/trigger_reinstall_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/trigger_reinstall_response_data.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/unauthorized_error_response_content.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/update_firewall_rule_request_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/update_firewall_rule_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/update_notification_request_content.py +113 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/update_notification_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/update_power_task_request_content.py +164 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/update_power_task_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/update_snapshot_request_content.py +91 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/update_snapshot_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/update_ssh_keys_request_content.py +97 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/update_ssh_keys_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/update_vps_config_request_content.py +99 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/update_vps_config_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/user_change_password_details.py +91 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/user_change_password_request_content.py +92 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/user_change_password_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/user_change_password_response_data.py +95 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/validate_pricing_base.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/validate_pricing_breakdown.py +103 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/validate_pricing_config_item.py +116 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/validate_pricing_currency.py +93 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/validate_pricing_discount.py +97 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/validate_pricing_plan_config.py +97 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/validate_pricing_plan_pricing.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/validate_pricing_price_range.py +91 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/validate_pricing_product.py +101 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/validate_pricing_product_result.py +121 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/validate_pricing_prorata.py +95 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/validate_pricing_request_content.py +97 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/validate_pricing_response_content.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/validate_pricing_response_data.py +109 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/validate_pricing_summary.py +101 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/validate_pricing_summary_recurring.py +91 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/validation_error_response_content.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/vps_available_features.py +115 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/vps_bandwidth_info.py +94 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/vps_cancel_response_data.py +93 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/vps_cancel_type.py +37 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/vps_config_response_data.py +108 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/vps_cpu_info.py +92 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/vps_credentials.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/vps_details_response.py +143 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/vps_disk_info.py +96 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/vps_memory_info.py +96 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/vps_network_rate.py +92 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/vps_os_info.py +89 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/vps_service_info.py +97 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/vps_simple_action_response_data.py +87 -0
- ha_sdk_python-1.0.10/ha_sdk_python/models/vps_vm_info.py +102 -0
- ha_sdk_python-1.0.10/ha_sdk_python/py.typed +0 -0
- ha_sdk_python-1.0.10/ha_sdk_python/rest.py +263 -0
- ha_sdk_python-1.0.10/ha_sdk_python/retryable_paths.py +26 -0
- ha_sdk_python-1.0.10/ha_sdk_python.egg-info/PKG-INFO +131 -0
- ha_sdk_python-1.0.10/ha_sdk_python.egg-info/SOURCES.txt +240 -0
- ha_sdk_python-1.0.10/ha_sdk_python.egg-info/dependency_links.txt +1 -0
- ha_sdk_python-1.0.10/ha_sdk_python.egg-info/requires.txt +12 -0
- ha_sdk_python-1.0.10/ha_sdk_python.egg-info/top_level.txt +1 -0
- ha_sdk_python-1.0.10/pyproject.toml +87 -0
- ha_sdk_python-1.0.10/setup.cfg +4 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 HostAfrica Dev
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: ha-sdk-python
|
|
3
|
+
Version: 1.0.10
|
|
4
|
+
Summary: Python SDK for the HostAfrica API
|
|
5
|
+
Author-email: HostAfrica <support@hostafrica.com>
|
|
6
|
+
Project-URL: Repository, https://github.com/hostafrica/ha-sdk-python
|
|
7
|
+
Keywords: hostafrica,vps,cloud,sdk,api
|
|
8
|
+
Requires-Python: >=3.9
|
|
9
|
+
Description-Content-Type: text/markdown
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Requires-Dist: urllib3<3.0.0,>=2.1.0
|
|
12
|
+
Requires-Dist: python-dateutil>=2.8.2
|
|
13
|
+
Requires-Dist: pydantic<3,>=2
|
|
14
|
+
Requires-Dist: typing-extensions>=4.7.1
|
|
15
|
+
Provides-Extra: dev
|
|
16
|
+
Requires-Dist: pytest>=7.2.1; extra == "dev"
|
|
17
|
+
Requires-Dist: pytest-cov>=2.8.1; extra == "dev"
|
|
18
|
+
Requires-Dist: tox>=3.9.0; extra == "dev"
|
|
19
|
+
Requires-Dist: flake8>=4.0.0; extra == "dev"
|
|
20
|
+
Requires-Dist: types-python-dateutil>=2.8.19.14; extra == "dev"
|
|
21
|
+
Requires-Dist: mypy>=1.5; extra == "dev"
|
|
22
|
+
Dynamic: license-file
|
|
23
|
+
|
|
24
|
+
# ha-sdk-python
|
|
25
|
+
|
|
26
|
+
A Python SDK client for the api.hostafrica.com API.
|
|
27
|
+
|
|
28
|
+
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
29
|
+
|
|
30
|
+
## Requirements.
|
|
31
|
+
|
|
32
|
+
Python 3.9+
|
|
33
|
+
|
|
34
|
+
## Installation & Usage
|
|
35
|
+
### pip install
|
|
36
|
+
|
|
37
|
+
If the python package is hosted on a repository, you can install directly using:
|
|
38
|
+
|
|
39
|
+
```sh
|
|
40
|
+
pip install git+https://github.com/hostafrica/ha-sdk-python.git
|
|
41
|
+
```
|
|
42
|
+
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/hostafrica/ha-sdk-python.git`)
|
|
43
|
+
|
|
44
|
+
Then import the package:
|
|
45
|
+
```python
|
|
46
|
+
import ha_sdk_python
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### Setuptools
|
|
50
|
+
|
|
51
|
+
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
|
|
52
|
+
|
|
53
|
+
```sh
|
|
54
|
+
python setup.py install --user
|
|
55
|
+
```
|
|
56
|
+
(or `sudo python setup.py install` to install the package for all users)
|
|
57
|
+
|
|
58
|
+
Then import the package:
|
|
59
|
+
```python
|
|
60
|
+
import ha_sdk_python
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Tests
|
|
64
|
+
|
|
65
|
+
Execute `pytest` to run the tests.
|
|
66
|
+
|
|
67
|
+
## Getting Started
|
|
68
|
+
|
|
69
|
+
Please follow the [installation procedure](#installation--usage) and then run the following:
|
|
70
|
+
|
|
71
|
+
```python
|
|
72
|
+
|
|
73
|
+
import ha_sdk_python
|
|
74
|
+
from ha_sdk_python.rest import ApiException
|
|
75
|
+
from pprint import pprint
|
|
76
|
+
|
|
77
|
+
# Defining the host is optional and defaults to https://api.hostafrica.com
|
|
78
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
79
|
+
configuration = ha_sdk_python.Configuration(
|
|
80
|
+
host = "https://api.hostafrica.com"
|
|
81
|
+
)
|
|
82
|
+
|
|
83
|
+
# The client must configure the authentication and authorization parameters
|
|
84
|
+
# in accordance with the API server security policy.
|
|
85
|
+
# Examples for each auth method are provided below, use the example that
|
|
86
|
+
# satisfies your auth use case.
|
|
87
|
+
|
|
88
|
+
# Configure Bearer authorization: BearerAuth
|
|
89
|
+
configuration = ha_sdk_python.Configuration(
|
|
90
|
+
access_token = os.environ["BEARER_TOKEN"]
|
|
91
|
+
)
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
# Enter a context with an instance of the API client
|
|
95
|
+
with ha_sdk_python.ApiClient(configuration) as api_client:
|
|
96
|
+
# Create an instance of the API class
|
|
97
|
+
api_instance = ha_sdk_python.BackupsApi(api_client)
|
|
98
|
+
create_backup_request_content = ha_sdk_python.CreateBackupRequestContent() # CreateBackupRequestContent |
|
|
99
|
+
|
|
100
|
+
try:
|
|
101
|
+
api_response = api_instance.create_backup(create_backup_request_content)
|
|
102
|
+
print("The response of BackupsApi->create_backup:\n")
|
|
103
|
+
pprint(api_response)
|
|
104
|
+
except ApiException as e:
|
|
105
|
+
print("Exception when calling BackupsApi->create_backup: %s\n" % e)
|
|
106
|
+
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
## Documentation
|
|
110
|
+
|
|
111
|
+
[**API Reference Documentation**](https://api.hostafrica.com)
|
|
112
|
+
|
|
113
|
+
[**Documentation per api/operation**](docs/)
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
<a id="documentation-for-authorization"></a>
|
|
117
|
+
## Documentation For Authorization
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
Authentication schemes defined for the API:
|
|
121
|
+
|
|
122
|
+
<a id="BearerAuth"></a>
|
|
123
|
+
### BearerAuth
|
|
124
|
+
|
|
125
|
+
- **Type**: Bearer authentication
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
# ha-sdk-python
|
|
2
|
+
|
|
3
|
+
A Python SDK client for the api.hostafrica.com API.
|
|
4
|
+
|
|
5
|
+
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
6
|
+
|
|
7
|
+
## Requirements.
|
|
8
|
+
|
|
9
|
+
Python 3.9+
|
|
10
|
+
|
|
11
|
+
## Installation & Usage
|
|
12
|
+
### pip install
|
|
13
|
+
|
|
14
|
+
If the python package is hosted on a repository, you can install directly using:
|
|
15
|
+
|
|
16
|
+
```sh
|
|
17
|
+
pip install git+https://github.com/hostafrica/ha-sdk-python.git
|
|
18
|
+
```
|
|
19
|
+
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/hostafrica/ha-sdk-python.git`)
|
|
20
|
+
|
|
21
|
+
Then import the package:
|
|
22
|
+
```python
|
|
23
|
+
import ha_sdk_python
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### Setuptools
|
|
27
|
+
|
|
28
|
+
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
|
|
29
|
+
|
|
30
|
+
```sh
|
|
31
|
+
python setup.py install --user
|
|
32
|
+
```
|
|
33
|
+
(or `sudo python setup.py install` to install the package for all users)
|
|
34
|
+
|
|
35
|
+
Then import the package:
|
|
36
|
+
```python
|
|
37
|
+
import ha_sdk_python
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### Tests
|
|
41
|
+
|
|
42
|
+
Execute `pytest` to run the tests.
|
|
43
|
+
|
|
44
|
+
## Getting Started
|
|
45
|
+
|
|
46
|
+
Please follow the [installation procedure](#installation--usage) and then run the following:
|
|
47
|
+
|
|
48
|
+
```python
|
|
49
|
+
|
|
50
|
+
import ha_sdk_python
|
|
51
|
+
from ha_sdk_python.rest import ApiException
|
|
52
|
+
from pprint import pprint
|
|
53
|
+
|
|
54
|
+
# Defining the host is optional and defaults to https://api.hostafrica.com
|
|
55
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
56
|
+
configuration = ha_sdk_python.Configuration(
|
|
57
|
+
host = "https://api.hostafrica.com"
|
|
58
|
+
)
|
|
59
|
+
|
|
60
|
+
# The client must configure the authentication and authorization parameters
|
|
61
|
+
# in accordance with the API server security policy.
|
|
62
|
+
# Examples for each auth method are provided below, use the example that
|
|
63
|
+
# satisfies your auth use case.
|
|
64
|
+
|
|
65
|
+
# Configure Bearer authorization: BearerAuth
|
|
66
|
+
configuration = ha_sdk_python.Configuration(
|
|
67
|
+
access_token = os.environ["BEARER_TOKEN"]
|
|
68
|
+
)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
# Enter a context with an instance of the API client
|
|
72
|
+
with ha_sdk_python.ApiClient(configuration) as api_client:
|
|
73
|
+
# Create an instance of the API class
|
|
74
|
+
api_instance = ha_sdk_python.BackupsApi(api_client)
|
|
75
|
+
create_backup_request_content = ha_sdk_python.CreateBackupRequestContent() # CreateBackupRequestContent |
|
|
76
|
+
|
|
77
|
+
try:
|
|
78
|
+
api_response = api_instance.create_backup(create_backup_request_content)
|
|
79
|
+
print("The response of BackupsApi->create_backup:\n")
|
|
80
|
+
pprint(api_response)
|
|
81
|
+
except ApiException as e:
|
|
82
|
+
print("Exception when calling BackupsApi->create_backup: %s\n" % e)
|
|
83
|
+
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
## Documentation
|
|
87
|
+
|
|
88
|
+
[**API Reference Documentation**](https://api.hostafrica.com)
|
|
89
|
+
|
|
90
|
+
[**Documentation per api/operation**](docs/)
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
<a id="documentation-for-authorization"></a>
|
|
94
|
+
## Documentation For Authorization
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
Authentication schemes defined for the API:
|
|
98
|
+
|
|
99
|
+
<a id="BearerAuth"></a>
|
|
100
|
+
### BearerAuth
|
|
101
|
+
|
|
102
|
+
- **Type**: Bearer authentication
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|