# pulp_ansible-client
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: v3
- Package version: 0.2.0b6.dev01571505014
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
## Requirements.
Python 2.7 and 3.4+
## Installation & Usage
### pip install
If the python package is hosted on a repository, you can install directly using:
```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 pulpcore.client.pulp_ansible
```
### 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 pulpcore.client.pulp_ansible
```
## Getting Started
Please follow the [installation procedure](#installation--usage) and then run the following:
```python
from __future__ import print_function
import time
import pulpcore.client.pulp_ansible
from pulpcore.client.pulp_ansible.rest import ApiException
from pprint import pprint
configuration = pulpcore.client.pulp_ansible.Configuration()
# Configure HTTP basic authorization: Basic
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# Defining host is optional and default to http://localhost:24817
configuration.host = "http://localhost:24817"
# Create an instance of the API class
api_instance = pulpcore.client.pulp_ansible.AnsibleCollectionsApi(pulpcore.client.pulp_ansible.ApiClient(configuration))
namespace = 'namespace_example' # str | (optional)
name = 'name_example' # str | (optional)
limit = 56 # int | Number of results to return per page. (optional)
offset = 56 # int | The initial index from which to return the results. (optional)
fields = 'fields_example' # str | A list of fields to include in the response. (optional)
exclude_fields = 'exclude_fields_example' # str | A list of fields to exclude from the response. (optional)
try:
# List collections
api_response = api_instance.list(namespace=namespace, name=name, limit=limit, offset=offset, fields=fields, exclude_fields=exclude_fields)
pprint(api_response)
except ApiException as e:
print("Exception when calling AnsibleCollectionsApi->list: %s\n" % e)
```
## Documentation for API Endpoints
All URIs are relative to *http://localhost:24817*
Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*AnsibleCollectionsApi* | [**list**](docs/AnsibleCollectionsApi.md#list) | **GET** /pulp/api/v3/ansible/collections/ | List collections
*AnsibleCollectionsApi* | [**upload_collection**](docs/AnsibleCollectionsApi.md#upload_collection) | **POST** /ansible/collections/ | Upload a collection
*ContentCollectionVersionsApi* | [**create**](docs/ContentCollectionVersionsApi.md#create) | **POST** /pulp/api/v3/content/ansible/collection_versions/ | Create a collection version
*ContentCollectionVersionsApi* | [**list**](docs/ContentCollectionVersionsApi.md#list) | **GET** /pulp/api/v3/content/ansible/collection_versions/ | List collection versions
*ContentCollectionVersionsApi* | [**read**](docs/ContentCollectionVersionsApi.md#read) | **GET** {collection_version_href} | Inspect a collection version
*ContentRolesApi* | [**create**](docs/ContentRolesApi.md#create) | **POST** /pulp/api/v3/content/ansible/roles/ | Create a role
*ContentRolesApi* | [**list**](docs/ContentRolesApi.md#list) | **GET** /pulp/api/v3/content/ansible/roles/ | List roles
*ContentRolesApi* | [**read**](docs/ContentRolesApi.md#read) | **GET** {role_href} | Inspect a role
*DistributionsAnsibleApi* | [**create**](docs/DistributionsAnsibleApi.md#create) | **POST** /pulp/api/v3/distributions/ansible/ansible/ | Create an ansible distribution
*DistributionsAnsibleApi* | [**delete**](docs/DistributionsAnsibleApi.md#delete) | **DELETE** {ansible_distribution_href} | Delete an ansible distribution
*DistributionsAnsibleApi* | [**list**](docs/DistributionsAnsibleApi.md#list) | **GET** /pulp/api/v3/distributions/ansible/ansible/ | List ansible distributions
*DistributionsAnsibleApi* | [**partial_update**](docs/DistributionsAnsibleApi.md#partial_update) | **PATCH** {ansible_distribution_href} | Partially update an ansible distribution
*DistributionsAnsibleApi* | [**read**](docs/DistributionsAnsibleApi.md#read) | **GET** {ansible_distribution_href} | Inspect an ansible distribution
*DistributionsAnsibleApi* | [**update**](docs/DistributionsAnsibleApi.md#update) | **PUT** {ansible_distribution_href} | Update an ansible distribution
*PulpAnsibleApiApi* | [**list**](docs/PulpAnsibleApiApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/ |
*PulpAnsibleGalaxyApiCollectionsApi* | [**create**](docs/PulpAnsibleGalaxyApiCollectionsApi.md#create) | **POST** /pulp_ansible/galaxy/{path}/api/v2/collections/ |
*PulpAnsibleGalaxyApiCollectionsApi* | [**list**](docs/PulpAnsibleGalaxyApiCollectionsApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v2/collections/ |
*PulpAnsibleGalaxyApiCollectionsApi* | [**list_0**](docs/PulpAnsibleGalaxyApiCollectionsApi.md#list_0) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/ |
*PulpAnsibleGalaxyApiCollectionsApi* | [**read**](docs/PulpAnsibleGalaxyApiCollectionsApi.md#read) | **GET** {collection_href} |
*PulpAnsibleGalaxyApiRolesApi* | [**list**](docs/PulpAnsibleGalaxyApiRolesApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v1/roles/ |
*PulpAnsibleGalaxyApiV1VersionsApi* | [**list**](docs/PulpAnsibleGalaxyApiV1VersionsApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v1/roles/{role_pk}/versions/ |
*PulpAnsibleGalaxyApiV2VersionsApi* | [**list**](docs/PulpAnsibleGalaxyApiV2VersionsApi.md#list) | **GET** {collection_href}versions/ |
*PulpAnsibleGalaxyApiV3CollectionsApi* | [**create**](docs/PulpAnsibleGalaxyApiV3CollectionsApi.md#create) | **POST** /pulp_ansible/galaxy/{path}/api/v3/artifacts/collections/ | Upload a collection
*PulpAnsibleGalaxyApiV3CollectionsApi* | [**read**](docs/PulpAnsibleGalaxyApiV3CollectionsApi.md#read) | **GET** {collection_import_href} | Inspect a collection import
*PulpAnsibleTagsApi* | [**list**](docs/PulpAnsibleTagsApi.md#list) | **GET** /pulp/api/v3/pulp_ansible/tags/ | List tags
*RemotesAnsibleApi* | [**create**](docs/RemotesAnsibleApi.md#create) | **POST** /pulp/api/v3/remotes/ansible/ansible/ | Create an ansible remote
*RemotesAnsibleApi* | [**delete**](docs/RemotesAnsibleApi.md#delete) | **DELETE** {ansible_remote_href} | Delete an ansible remote
*RemotesAnsibleApi* | [**list**](docs/RemotesAnsibleApi.md#list) | **GET** /pulp/api/v3/remotes/ansible/ansible/ | List ansible remotes
*RemotesAnsibleApi* | [**partial_update**](docs/RemotesAnsibleApi.md#partial_update) | **PATCH** {ansible_remote_href} | Partially update an ansible remote
*RemotesAnsibleApi* | [**read**](docs/RemotesAnsibleApi.md#read) | **GET** {ansible_remote_href} | Inspect an ansible remote
*RemotesAnsibleApi* | [**sync**](docs/RemotesAnsibleApi.md#sync) | **POST** {ansible_remote_href}sync/ |
*RemotesAnsibleApi* | [**update**](docs/RemotesAnsibleApi.md#update) | **PUT** {ansible_remote_href} | Update an ansible remote
*RemotesCollectionApi* | [**create**](docs/RemotesCollectionApi.md#create) | **POST** /pulp/api/v3/remotes/ansible/collection/ | Create a collection remote
*RemotesCollectionApi* | [**delete**](docs/RemotesCollectionApi.md#delete) | **DELETE** {collection_remote_href} | Delete a collection remote
*RemotesCollectionApi* | [**list**](docs/RemotesCollectionApi.md#list) | **GET** /pulp/api/v3/remotes/ansible/collection/ | List collection remotes
*RemotesCollectionApi* | [**partial_update**](docs/RemotesCollectionA
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
资源分类:Python库 所属语言:Python 资源全名:pulp_ansible-client-0.2.0b6.dev1571505014.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
pulp_ansible-client-0.2.0b6.dev1571505014.tar.gz (98个子文件)
pulp_ansible-client-0.2.0b6.dev1571505014
PKG-INFO 389B
test
test_pulp_ansible_galaxy_api_v1_versions_api.py 1006B
test_galaxy_collection_version.py 1KB
test_inline_response20010.py 1020B
test_tag_nested.py 940B
test_collection_version.py 1004B
test_pulp_ansible_tags_api.py 942B
test_pulp_ansible_galaxy_api_collections_api.py 1KB
test_collection_remote.py 996B
test_pulp_ansible_galaxy_api_roles_api.py 974B
test_inline_response2006.py 1012B
test_collection_import_detail.py 1KB
test_pulp_ansible_galaxy_api_v3_collections_api.py 1KB
test_inline_response2008.py 1012B
test_distributions_ansible_api.py 2KB
test_inline_response2002.py 1012B
test_inline_response2003.py 1012B
test_inline_response2005.py 1012B
test_tag.py 890B
test_galaxy_collection.py 996B
test_ansible_distribution.py 1020B
test_repository_sync_url.py 1006B
test_content_collection_versions_api.py 1KB
test_ansible_remote.py 972B
test_role.py 898B
test_content_roles_api.py 1KB
test_async_operation_response.py 1KB
test_galaxy_role_version.py 1006B
test_remotes_collection_api.py 2KB
test_pulp_ansible_galaxy_api_v2_versions_api.py 1006B
test_inline_response200.py 1004B
test_collection.py 946B
test_ansible_collections_api.py 1KB
test_inline_response2004.py 1012B
test_inline_response2007.py 1012B
test_galaxy_role.py 948B
test_inline_response2009.py 1012B
test_collection_metadata.py 1012B
test_inline_response2001.py 1012B
test_pulp_ansible_api_api.py 904B
test_remotes_ansible_api.py 2KB
setup.cfg 38B
setup.py 1KB
pulp_ansible_client.egg-info
PKG-INFO 389B
requires.txt 48B
SOURCES.txt 4KB
top_level.txt 9B
dependency_links.txt 1B
README.md 10KB
pulpcore
client
__init__.py 75B
pulp_ansible
models
inline_response2004.py 5KB
collection.py 5KB
inline_response2006.py 5KB
inline_response2002.py 5KB
inline_response200.py 5KB
role.py 8KB
galaxy_collection.py 6KB
collection_import_detail.py 10KB
galaxy_role_version.py 4KB
galaxy_collection_version.py 7KB
collection_remote.py 19KB
inline_response2003.py 5KB
galaxy_role.py 5KB
inline_response20010.py 5KB
collection_metadata.py 11KB
tag.py 3KB
ansible_distribution.py 11KB
__init__.py 3KB
async_operation_response.py 4KB
inline_response2007.py 5KB
inline_response2005.py 5KB
inline_response2009.py 5KB
collection_version.py 29KB
inline_response2001.py 5KB
ansible_remote.py 18KB
inline_response2008.py 5KB
tag_nested.py 3KB
repository_sync_url.py 5KB
configuration.py 10KB
api
content_collection_versions_api.py 20KB
pulp_ansible_api_api.py 6KB
ansible_collections_api.py 15KB
remotes_collection_api.py 44KB
pulp_ansible_tags_api.py 6KB
pulp_ansible_galaxy_api_v1_versions_api.py 8KB
distributions_ansible_api.py 37KB
__init__.py 1KB
remotes_ansible_api.py 43KB
pulp_ansible_galaxy_api_v2_versions_api.py 7KB
pulp_ansible_galaxy_api_collections_api.py 24KB
pulp_ansible_galaxy_api_roles_api.py 7KB
pulp_ansible_galaxy_api_v3_collections_api.py 16KB
content_roles_api.py 19KB
__init__.py 4KB
api_client.py 25KB
rest.py 12KB
exceptions.py 4KB
__init__.py 75B
共 98 条
- 1
资源评论
挣扎的蓝藻
- 粉丝: 14w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功