# assisted-service-client
Assisted installation
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
- API version: 1.0.0
- Package version: 1.0.0
- Build package: io.swagger.codegen.languages.PythonClientCodegen
## Requirements.
Python 2.7 and 3.4+
## Installation & Usage
### pip install
If the python package is hosted on Github, you can install directly from Github
```sh
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
```
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
Then import the package:
```python
import assisted_service_client
```
### Setuptools
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
```sh
python setup.py install --user
```
(or `sudo python setup.py install` to install the package for all users)
Then import the package:
```python
import assisted_service_client
```
## Getting Started
Please follow the [installation procedure](#installation--usage) and then run the following:
```python
from __future__ import print_function
import time
import assisted_service_client
from assisted_service_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: userAuth
configuration = assisted_service_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = assisted_service_client.AssistedServiceIsoApi(assisted_service_client.ApiClient(configuration))
assisted_service_iso_create_params = assisted_service_client.AssistedServiceIsoCreateParams() # AssistedServiceIsoCreateParams | Parameters for creating an Assisted Service ISO.
try:
api_instance.create_iso_and_upload_to_s3(assisted_service_iso_create_params)
except ApiException as e:
print("Exception when calling AssistedServiceIsoApi->create_iso_and_upload_to_s3: %s\n" % e)
```
## Documentation for API Endpoints
All URIs are relative to *http://api.openshift.com/api/assisted-install/v1*
Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*AssistedServiceIsoApi* | [**create_iso_and_upload_to_s3**](docs/AssistedServiceIsoApi.md#create_iso_and_upload_to_s3) | **POST** /assisted-service-iso |
*AssistedServiceIsoApi* | [**download_iso**](docs/AssistedServiceIsoApi.md#download_iso) | **GET** /assisted-service-iso/data |
*AssistedServiceIsoApi* | [**get_presigned_for_assisted_service_iso**](docs/AssistedServiceIsoApi.md#get_presigned_for_assisted_service_iso) | **GET** /assisted-service-iso/presigned |
*BootfilesApi* | [**download_boot_files**](docs/BootfilesApi.md#download_boot_files) | **GET** /boot-files |
*EventsApi* | [**list_events**](docs/EventsApi.md#list_events) | **GET** /clusters/{cluster_id}/events |
*InstallerApi* | [**cancel_installation**](docs/InstallerApi.md#cancel_installation) | **POST** /clusters/{cluster_id}/actions/cancel |
*InstallerApi* | [**complete_installation**](docs/InstallerApi.md#complete_installation) | **POST** /clusters/{cluster_id}/actions/complete_installation |
*InstallerApi* | [**deregister_cluster**](docs/InstallerApi.md#deregister_cluster) | **DELETE** /clusters/{cluster_id} |
*InstallerApi* | [**deregister_host**](docs/InstallerApi.md#deregister_host) | **DELETE** /clusters/{cluster_id}/hosts/{host_id} |
*InstallerApi* | [**disable_host**](docs/InstallerApi.md#disable_host) | **DELETE** /clusters/{cluster_id}/hosts/{host_id}/actions/enable |
*InstallerApi* | [**download_cluster_files**](docs/InstallerApi.md#download_cluster_files) | **GET** /clusters/{cluster_id}/downloads/files |
*InstallerApi* | [**download_cluster_iso**](docs/InstallerApi.md#download_cluster_iso) | **GET** /clusters/{cluster_id}/downloads/image |
*InstallerApi* | [**download_cluster_iso_headers**](docs/InstallerApi.md#download_cluster_iso_headers) | **HEAD** /clusters/{cluster_id}/downloads/image |
*InstallerApi* | [**download_cluster_kubeconfig**](docs/InstallerApi.md#download_cluster_kubeconfig) | **GET** /clusters/{cluster_id}/downloads/kubeconfig |
*InstallerApi* | [**download_cluster_logs**](docs/InstallerApi.md#download_cluster_logs) | **GET** /clusters/{cluster_id}/logs |
*InstallerApi* | [**download_host_ignition**](docs/InstallerApi.md#download_host_ignition) | **GET** /clusters/{cluster_id}/hosts/{host_id}/downloads/ignition |
*InstallerApi* | [**download_host_logs**](docs/InstallerApi.md#download_host_logs) | **GET** /clusters/{cluster_id}/hosts/{host_id}/logs |
*InstallerApi* | [**enable_host**](docs/InstallerApi.md#enable_host) | **POST** /clusters/{cluster_id}/hosts/{host_id}/actions/enable |
*InstallerApi* | [**generate_cluster_iso**](docs/InstallerApi.md#generate_cluster_iso) | **POST** /clusters/{cluster_id}/downloads/image |
*InstallerApi* | [**get_cluster**](docs/InstallerApi.md#get_cluster) | **GET** /clusters/{cluster_id} |
*InstallerApi* | [**get_cluster_default_config**](docs/InstallerApi.md#get_cluster_default_config) | **GET** /clusters/default-config |
*InstallerApi* | [**get_cluster_host_requirements**](docs/InstallerApi.md#get_cluster_host_requirements) | **GET** /clusters/{cluster_id}/host-requirements |
*InstallerApi* | [**get_cluster_install_config**](docs/InstallerApi.md#get_cluster_install_config) | **GET** /clusters/{cluster_id}/install-config |
*InstallerApi* | [**get_credentials**](docs/InstallerApi.md#get_credentials) | **GET** /clusters/{cluster_id}/credentials |
*InstallerApi* | [**get_discovery_ignition**](docs/InstallerApi.md#get_discovery_ignition) | **GET** /clusters/{cluster_id}/discovery-ignition |
*InstallerApi* | [**get_free_addresses**](docs/InstallerApi.md#get_free_addresses) | **GET** /clusters/{cluster_id}/free_addresses |
*InstallerApi* | [**get_host**](docs/InstallerApi.md#get_host) | **GET** /clusters/{cluster_id}/hosts/{host_id} |
*InstallerApi* | [**get_host_ignition**](docs/InstallerApi.md#get_host_ignition) | **GET** /clusters/{cluster_id}/hosts/{host_id}/ignition |
*InstallerApi* | [**get_host_requirements**](docs/InstallerApi.md#get_host_requirements) | **GET** /host_requirements |
*InstallerApi* | [**get_next_steps**](docs/InstallerApi.md#get_next_steps) | **GET** /clusters/{cluster_id}/hosts/{host_id}/instructions |
*InstallerApi* | [**get_presigned_for_cluster_files**](docs/InstallerApi.md#get_presigned_for_cluster_files) | **GET** /clusters/{cluster_id}/downloads/files-presigned |
*InstallerApi* | [**install_cluster**](docs/InstallerApi.md#install_cluster) | **POST** /clusters/{cluster_id}/actions/install |
*InstallerApi* | [**install_host**](docs/InstallerApi.md#install_host) | **POST** /clusters/{cluster_id}/hosts/{host_id}/actions/install |
*InstallerApi* | [**install_hosts**](docs/InstallerApi.md#install_hosts) | **POST** /clusters/{cluster_id}/actions/install_hosts |
*InstallerApi* | [**list_clusters**](docs/InstallerApi.md#list_clusters) | **GET** /clusters |
*InstallerApi* | [**list_hosts**](docs/InstallerApi.md#list_hosts) | **GET** /clusters/{cluster_id}/hosts |
*InstallerApi* | [**list_of_cluster_operators**](docs/InstallerApi.md#list_of_cluster_operators) | **GET** /clusters/{cluster_id}/monitored_operators |
*InstallerApi* | [**post_step_reply**](docs/InstallerApi.md#post_step_reply) | **POST** /clusters/{cluster_id}/hosts/{host_id}/instructions |
*InstallerApi* | [**register_add_hosts_cluster**](docs/InstallerApi.md#register_add_hosts_cluster) | **POST** /add_hosts_clusters |
*InstallerApi* | [**register_cluster**](docs/InstallerApi.md#register_cluster) | **POST** /clusters |
*InstallerApi* | [**register_host**](docs/InstallerApi.md#register_host) | **POST** /clusters/{cluster_id}/hosts |
*InstallerApi* | [**report_monitored_operator_status**](docs/InstallerApi.md#report_monitored_operat
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
共277个文件
py:268个
txt:4个
pkg-info:2个
资源来自pypi官网。 资源全名:assisted-service-client-1.0.18.1.post68.tar.gz
资源推荐
资源详情
资源评论
收起资源包目录
PyPI 官网下载 | assisted-service-client-1.0.18.1.post68.tar.gz (277个子文件)
setup.cfg 38B
MANIFEST.in 17B
README.md 18KB
PKG-INFO 21KB
PKG-INFO 21KB
installer_api.py 230KB
cluster.py 53KB
host.py 33KB
cluster_update_params.py 28KB
api_client.py 24KB
cluster_create_params.py 24KB
manifests_api.py 19KB
setup.py 19KB
operators_api.py 17KB
disk.py 13KB
rest.py 13KB
assisted_service_iso_api.py 12KB
monitored_operator.py 11KB
__init__.py 11KB
image_info.py 11KB
interface.py 10KB
__init__.py 10KB
inventory.py 9KB
configuration.py 8KB
openshift_version.py 8KB
versions_api.py 7KB
operator_property.py 7KB
dhcp_allocation_request.py 7KB
event.py 7KB
error.py 7KB
dhcp_allocation_response.py 7KB
l3_connectivity.py 7KB
cluster_default_config.py 6KB
image_create_params.py 6KB
container_image_availability.py 6KB
test_installer_api.py 6KB
cluster_host_requirements_details.py 6KB
l2_connectivity.py 6KB
add_hosts_cluster_create_params.py 6KB
gpu.py 6KB
host_progress_info.py 6KB
cluster_host_requirements.py 6KB
host_requirements_role.py 6KB
step_reply.py 5KB
domain_resolution_response_resolutions.py 5KB
assisted_service_iso_create_params.py 5KB
cpu.py 5KB
create_manifest_params.py 5KB
bootfiles_api.py 5KB
fio_perf_check_request.py 5KB
system_vendor.py 5KB
steps.py 5KB
host_registration_response_next_step_runner_command.py 5KB
versioned_host_requirements.py 5KB
connectivity_remote_host.py 5KB
events_api.py 5KB
mirror_registry.py 5KB
step.py 5KB
operator_monitor_report.py 5KB
mirror_registries_ca_config.py 4KB
mirror_registries_config.py 4KB
disk_installation_eligibility.py 4KB
host_static_network_config.py 4KB
connectivity_check_nic.py 4KB
credentials.py 4KB
infra_error.py 4KB
manifest.py 4KB
clusterupdateparams_hosts_machine_config_pool_names.py 4KB
operator_host_requirements.py 4KB
mac_interface_map_inner.py 4KB
container_image_availability_request.py 4KB
disk_speed.py 4KB
cluster_progress_info.py 4KB
clusterupdateparams_disks_selected_config.py 4KB
api_vip_connectivity_request.py 4KB
disk_info.py 4KB
disk_speed_check_response.py 4KB
fio_perf_check_response.py 4KB
host_create_params.py 4KB
managed_domains_api.py 4KB
ntp_source.py 4KB
host_progress.py 4KB
operator_create_params.py 4KB
managed_domain.py 4KB
completion_params.py 4KB
free_network_addresses.py 4KB
boot.py 4KB
memory.py 4KB
clusterupdateparams_hosts_names.py 4KB
connectivity_check_host.py 4KB
list_versions.py 4KB
host_requirements.py 4KB
clusterupdateparams_hosts_roles.py 4KB
disk_config_params.py 4KB
host_network.py 4KB
host_registration_response.py 3KB
ntp_synchronization_request.py 3KB
container_image_availability_response.py 3KB
domain_resolution_request_domains.py 3KB
host_validation_id.py 3KB
共 277 条
- 1
- 2
- 3
资源评论
挣扎的蓝藻
- 粉丝: 12w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 论文(最终)_20240430235101.pdf
- 基于python编写的Keras深度学习框架开发,利用卷积神经网络CNN,快速识别图片并进行分类
- 最全空间计量实证方法(空间杜宾模型和检验以及结果解释文档).txt
- 5uonly.apk
- 蓝桥杯Python组的历年真题
- 2023-04-06-项目笔记 - 第一百十九阶段 - 4.4.2.117全局变量的作用域-117 -2024.04.30
- 2023-04-06-项目笔记 - 第一百十九阶段 - 4.4.2.117全局变量的作用域-117 -2024.04.30
- 前端开发技术实验报告:内含4四实验&实验报告
- Highlight Plus v20.0.1
- 林周瑜-论文.docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功