# pulp_certguard-client
Fetch, Upload, Organize, and Distribute Software Packages
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: v3
- Package version: 1.2.1.dev1617507321
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
## 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_certguard
```
### 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_certguard
```
## 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_certguard
from pulpcore.client.pulp_certguard.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://pulp
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_certguard.Configuration(
host = "http://pulp"
)
# 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 HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_certguard.Configuration(
username = 'YOUR_USERNAME',
password = 'YOUR_PASSWORD'
)
# Configure API key authorization: cookieAuth
configuration = pulpcore.client.pulp_certguard.Configuration(
host = "http://pulp",
api_key = {
'Session': 'YOUR_API_KEY'
}
)
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Session'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_certguard.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_certguard.ContentguardsRhsmApi(api_client)
certguard_rhsm_cert_guard = pulpcore.client.pulp_certguard.CertguardRHSMCertGuard() # CertguardRHSMCertGuard |
try:
# Create a rhsm cert guard
api_response = api_instance.create(certguard_rhsm_cert_guard)
pprint(api_response)
except ApiException as e:
print("Exception when calling ContentguardsRhsmApi->create: %s\n" % e)
```
## Documentation for API Endpoints
All URIs are relative to *http://pulp*
Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*ContentguardsRhsmApi* | [**create**](docs/ContentguardsRhsmApi.md#create) | **POST** /pulp/api/v3/contentguards/certguard/rhsm/ | Create a rhsm cert guard
*ContentguardsRhsmApi* | [**delete**](docs/ContentguardsRhsmApi.md#delete) | **DELETE** {certguard_r_h_s_m_cert_guard_href} | Delete a rhsm cert guard
*ContentguardsRhsmApi* | [**list**](docs/ContentguardsRhsmApi.md#list) | **GET** /pulp/api/v3/contentguards/certguard/rhsm/ | List rhsm cert guards
*ContentguardsRhsmApi* | [**partial_update**](docs/ContentguardsRhsmApi.md#partial_update) | **PATCH** {certguard_r_h_s_m_cert_guard_href} | Update a rhsm cert guard
*ContentguardsRhsmApi* | [**read**](docs/ContentguardsRhsmApi.md#read) | **GET** {certguard_r_h_s_m_cert_guard_href} | Inspect a rhsm cert guard
*ContentguardsRhsmApi* | [**update**](docs/ContentguardsRhsmApi.md#update) | **PUT** {certguard_r_h_s_m_cert_guard_href} | Update a rhsm cert guard
*ContentguardsX509Api* | [**create**](docs/ContentguardsX509Api.md#create) | **POST** /pulp/api/v3/contentguards/certguard/x509/ | Create a x509 cert guard
*ContentguardsX509Api* | [**delete**](docs/ContentguardsX509Api.md#delete) | **DELETE** {certguard_x509_cert_guard_href} | Delete a x509 cert guard
*ContentguardsX509Api* | [**list**](docs/ContentguardsX509Api.md#list) | **GET** /pulp/api/v3/contentguards/certguard/x509/ | List x509 cert guards
*ContentguardsX509Api* | [**partial_update**](docs/ContentguardsX509Api.md#partial_update) | **PATCH** {certguard_x509_cert_guard_href} | Update a x509 cert guard
*ContentguardsX509Api* | [**read**](docs/ContentguardsX509Api.md#read) | **GET** {certguard_x509_cert_guard_href} | Inspect a x509 cert guard
*ContentguardsX509Api* | [**update**](docs/ContentguardsX509Api.md#update) | **PUT** {certguard_x509_cert_guard_href} | Update a x509 cert guard
## Documentation For Models
- [CertguardRHSMCertGuard](docs/CertguardRHSMCertGuard.md)
- [CertguardRHSMCertGuardResponse](docs/CertguardRHSMCertGuardResponse.md)
- [CertguardX509CertGuard](docs/CertguardX509CertGuard.md)
- [CertguardX509CertGuardResponse](docs/CertguardX509CertGuardResponse.md)
- [PaginatedcertguardRHSMCertGuardResponseList](docs/PaginatedcertguardRHSMCertGuardResponseList.md)
- [PaginatedcertguardX509CertGuardResponseList](docs/PaginatedcertguardX509CertGuardResponseList.md)
- [PatchedcertguardRHSMCertGuard](docs/PatchedcertguardRHSMCertGuard.md)
- [PatchedcertguardX509CertGuard](docs/PatchedcertguardX509CertGuard.md)
## Documentation For Authorization
## basicAuth
- **Type**: HTTP basic authentication
## cookieAuth
- **Type**: API key
- **API key parameter name**: Session
- **Location**:
## Author
pulp-list@redhat.com
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
资源分类:Python库 所属语言:Python 资源全名:pulp_certguard-client-1.2.1.dev1617507321.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
pulp_certguard-client-1.2.1.dev1617507321.tar.gz (38个子文件)
pulp_certguard-client-1.2.1.dev1617507321
PKG-INFO 372B
pulp_certguard_client.egg-info
PKG-INFO 372B
requires.txt 48B
SOURCES.txt 2KB
top_level.txt 9B
dependency_links.txt 1B
test
test_paginatedcertguard_rhsm_cert_guard_response_list.py 2KB
test_contentguards_x509_api.py 2KB
test_contentguards_rhsm_api.py 2KB
test_certguard_x509_cert_guard_response.py 2KB
test_paginatedcertguard_x509_cert_guard_response_list.py 2KB
test_certguard_x509_cert_guard.py 2KB
test_certguard_rhsm_cert_guard.py 2KB
test_patchedcertguard_rhsm_cert_guard.py 2KB
test_certguard_rhsm_cert_guard_response.py 2KB
test_patchedcertguard_x509_cert_guard.py 2KB
setup.cfg 69B
setup.py 1KB
README.md 6KB
pulpcore
client
__init__.py 75B
pulp_certguard
models
certguard_rhsm_cert_guard_response.py 7KB
certguard_rhsm_cert_guard.py 5KB
certguard_x509_cert_guard.py 5KB
patchedcertguard_rhsm_cert_guard.py 5KB
paginatedcertguard_rhsm_cert_guard_response_list.py 6KB
certguard_x509_cert_guard_response.py 7KB
__init__.py 1KB
paginatedcertguard_x509_cert_guard_response_list.py 6KB
patchedcertguard_x509_cert_guard.py 5KB
configuration.py 14KB
api
contentguards_x509_api.py 38KB
__init__.py 269B
contentguards_rhsm_api.py 38KB
__init__.py 2KB
api_client.py 26KB
rest.py 12KB
exceptions.py 4KB
__init__.py 75B
共 38 条
- 1
资源评论
挣扎的蓝藻
- 粉丝: 14w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于Kotlin语言的Android开发工具类集合源码
- 零延迟 DirectX 11 扩展实用程序.zip
- 基于Java的语音识别系统设计源码
- 基于Java和HTML的yang_home766个人主页设计源码
- 基于Java与前端技术的全国实时疫情信息网站设计源码
- 基于鸿蒙系统的HarmonyHttpClient设计源码,纯Java实现类似OkHttp的HttpNet框架与优雅的Retrofit注解解析
- 基于HTML和JavaScript的廖振宇图书馆前端设计源码
- 基于Java的Android开发工具集合源码
- 通过 DirectX 12 Hook (kiero) 实现通用 ImGui.zip
- 基于Java开发的YY网盘个人网盘设计源码
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功