pulp_ansible_client 0.9.2 → 0.10.0
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.
- checksums.yaml +4 -4
- data/README.md +9 -5
- data/docs/AnsibleAnsibleRepository.md +3 -3
- data/docs/AnsibleAnsibleRepositoryResponse.md +3 -3
- data/docs/AnsibleCollection.md +19 -0
- data/docs/AnsibleCollectionVersionResponse.md +4 -4
- data/docs/AnsibleCollectionsApi.md +1 -1
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/ApiCollectionsApi.md +1 -1
- data/docs/ApiRolesApi.md +1 -1
- data/docs/CollectionImportApi.md +1 -1
- data/docs/ContentCollectionDeprecationsApi.md +192 -0
- data/docs/ContentCollectionVersionsApi.md +1 -1
- data/docs/ContentRolesApi.md +1 -1
- data/docs/DistributionsAnsibleApi.md +1 -1
- data/docs/GalaxyDetailApi.md +1 -1
- data/docs/PatchedansibleAnsibleRepository.md +3 -3
- data/docs/PulpAnsibleApiApi.md +1 -1
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3Api.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
- data/docs/PulpAnsibleTagsApi.md +1 -1
- data/docs/RemotesCollectionApi.md +1 -1
- data/docs/RemotesRoleApi.md +1 -1
- data/docs/RepositoriesAnsibleApi.md +1 -1
- data/docs/RepositoriesAnsibleVersionsApi.md +1 -1
- data/docs/VersionsApi.md +1 -1
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +234 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +5 -5
- data/lib/pulp_ansible_client/configuration.rb +2 -2
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +17 -16
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +17 -16
- data/lib/pulp_ansible_client/models/ansible_collection.rb +228 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +13 -15
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +17 -16
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +2 -0
- data/spec/api/content_collection_deprecations_api_spec.rb +80 -0
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +2 -2
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_ansible_repository_response_spec.rb +1 -1
- data/spec/models/ansible_ansible_repository_spec.rb +1 -1
- data/spec/models/ansible_collection_spec.rb +47 -0
- data/spec/models/ansible_collection_version_response_spec.rb +3 -3
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/patchedansible_ansible_repository_spec.rb +1 -1
- metadata +79 -71
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79fc342939efe59ad24c46dd08e5e39dabd31352293581b95e1e7a2f990d16f4
|
4
|
+
data.tar.gz: f963517dd7e8f3cf23b181652dceec9e3c3c42d9ca1a060b541777298dc1cc42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24917b577c24d49a5c4b88dfd35c354edbdb5be90b7445962468a9fc42f4a742dd41c18f8bc42fc4413c1ff967eda16361198c5a2bc329d7b7ff07d3319379bf
|
7
|
+
data.tar.gz: caa2d008f66a2f175a40a1264ac2b69209930a9acc5c80a7b8d38d3ca556334cb922593d87bfa4d0f211ec616e14e4d67cbc52eb2f817e6cc82f7a85ea695d3c
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 0.
|
10
|
+
- Package version: 0.10.0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_ansible_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_ansible_client-0.
|
27
|
+
gem install ./pulp_ansible_client-0.10.0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.
|
30
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.10.0.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_ansible_client', '~> 0.
|
36
|
+
gem 'pulp_ansible_client', '~> 0.10.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -87,7 +87,7 @@ end
|
|
87
87
|
|
88
88
|
## Documentation for API Endpoints
|
89
89
|
|
90
|
-
All URIs are relative to *
|
90
|
+
All URIs are relative to *https://pulp*
|
91
91
|
|
92
92
|
Class | Method | HTTP request | Description
|
93
93
|
------------ | ------------- | ------------- | -------------
|
@@ -98,6 +98,9 @@ Class | Method | HTTP request | Description
|
|
98
98
|
*PulpAnsibleClient::ApiCollectionsApi* | [**post**](docs/ApiCollectionsApi.md#post) | **POST** {ansible_collection_href}api/v2/collections/ |
|
99
99
|
*PulpAnsibleClient::ApiRolesApi* | [**get**](docs/ApiRolesApi.md#get) | **GET** {ansible_role_href}api/v1/roles/ |
|
100
100
|
*PulpAnsibleClient::CollectionImportApi* | [**read**](docs/CollectionImportApi.md#read) | **GET** {ansible_collection_import_href} | Inspect a collection import
|
101
|
+
*PulpAnsibleClient::ContentCollectionDeprecationsApi* | [**create**](docs/ContentCollectionDeprecationsApi.md#create) | **POST** /pulp/api/v3/content/ansible/collection_deprecations/ | Create an ansible collection deprecated
|
102
|
+
*PulpAnsibleClient::ContentCollectionDeprecationsApi* | [**list**](docs/ContentCollectionDeprecationsApi.md#list) | **GET** /pulp/api/v3/content/ansible/collection_deprecations/ | List ansible collection deprecateds
|
103
|
+
*PulpAnsibleClient::ContentCollectionDeprecationsApi* | [**read**](docs/ContentCollectionDeprecationsApi.md#read) | **GET** {ansible_ansible_collection_deprecated_href} | Inspect an ansible collection deprecated
|
101
104
|
*PulpAnsibleClient::ContentCollectionVersionsApi* | [**create**](docs/ContentCollectionVersionsApi.md#create) | **POST** /pulp/api/v3/content/ansible/collection_versions/ | Create a collection version
|
102
105
|
*PulpAnsibleClient::ContentCollectionVersionsApi* | [**list**](docs/ContentCollectionVersionsApi.md#list) | **GET** /pulp/api/v3/content/ansible/collection_versions/ | List collection versions
|
103
106
|
*PulpAnsibleClient::ContentCollectionVersionsApi* | [**read**](docs/ContentCollectionVersionsApi.md#read) | **GET** {ansible_collection_version_href} | Inspect a collection version
|
@@ -158,6 +161,7 @@ Class | Method | HTTP request | Description
|
|
158
161
|
- [PulpAnsibleClient::AnsibleAnsibleDistributionResponse](docs/AnsibleAnsibleDistributionResponse.md)
|
159
162
|
- [PulpAnsibleClient::AnsibleAnsibleRepository](docs/AnsibleAnsibleRepository.md)
|
160
163
|
- [PulpAnsibleClient::AnsibleAnsibleRepositoryResponse](docs/AnsibleAnsibleRepositoryResponse.md)
|
164
|
+
- [PulpAnsibleClient::AnsibleCollection](docs/AnsibleCollection.md)
|
161
165
|
- [PulpAnsibleClient::AnsibleCollectionRemote](docs/AnsibleCollectionRemote.md)
|
162
166
|
- [PulpAnsibleClient::AnsibleCollectionRemoteResponse](docs/AnsibleCollectionRemoteResponse.md)
|
163
167
|
- [PulpAnsibleClient::AnsibleCollectionResponse](docs/AnsibleCollectionResponse.md)
|
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
8
8
|
**name** | **String** | A unique name for this repository. |
|
9
9
|
**description** | **String** | An optional description. | [optional]
|
10
|
-
**
|
11
|
-
**remote** | **String** |
|
10
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
11
|
+
**remote** | **String** | An optional remote to use by default when syncing. | [optional]
|
12
12
|
**last_synced_metadata_time** | **DateTime** | Last synced metadata time. | [optional]
|
13
13
|
|
14
14
|
## Code Sample
|
@@ -19,7 +19,7 @@ require 'PulpAnsibleClient'
|
|
19
19
|
instance = PulpAnsibleClient::AnsibleAnsibleRepository.new(pulp_labels: null,
|
20
20
|
name: null,
|
21
21
|
description: null,
|
22
|
-
|
22
|
+
retain_repo_versions: null,
|
23
23
|
remote: null,
|
24
24
|
last_synced_metadata_time: null)
|
25
25
|
```
|
@@ -11,8 +11,8 @@ Name | Type | Description | Notes
|
|
11
11
|
**latest_version_href** | **String** | | [optional] [readonly]
|
12
12
|
**name** | **String** | A unique name for this repository. |
|
13
13
|
**description** | **String** | An optional description. | [optional]
|
14
|
-
**
|
15
|
-
**remote** | **String** |
|
14
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
15
|
+
**remote** | **String** | An optional remote to use by default when syncing. | [optional]
|
16
16
|
**last_synced_metadata_time** | **DateTime** | Last synced metadata time. | [optional]
|
17
17
|
|
18
18
|
## Code Sample
|
@@ -27,7 +27,7 @@ instance = PulpAnsibleClient::AnsibleAnsibleRepositoryResponse.new(pulp_href: nu
|
|
27
27
|
latest_version_href: null,
|
28
28
|
name: null,
|
29
29
|
description: null,
|
30
|
-
|
30
|
+
retain_repo_versions: null,
|
31
31
|
remote: null,
|
32
32
|
last_synced_metadata_time: null)
|
33
33
|
```
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# PulpAnsibleClient::AnsibleCollection
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | The name of the Collection. |
|
8
|
+
**namespace** | **String** | The namespace of the Collection. |
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'PulpAnsibleClient'
|
14
|
+
|
15
|
+
instance = PulpAnsibleClient::AnsibleCollection.new(name: null,
|
16
|
+
namespace: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**artifact** | **String** | Artifact file representing the physical content |
|
7
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
9
|
**pulp_href** | **String** | | [optional] [readonly]
|
9
|
-
**artifact** | **String** | Artifact file representing the physical content |
|
10
10
|
**md5** | **String** | The MD5 checksum if available. | [optional] [readonly]
|
11
11
|
**sha1** | **String** | The SHA-1 checksum if available. | [optional] [readonly]
|
12
12
|
**sha224** | **String** | The SHA-224 checksum if available. | [optional] [readonly]
|
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
|
|
15
15
|
**sha512** | **String** | The SHA-512 checksum if available. | [optional] [readonly]
|
16
16
|
**id** | **String** | A collection identifier. |
|
17
17
|
**authors** | **Array<String>** | A list of the CollectionVersion content's authors. |
|
18
|
-
**contents** | **
|
18
|
+
**contents** | [**Object**](.md) | A JSON field with data about the contents. |
|
19
19
|
**dependencies** | [**Object**](.md) | A dict declaring Collections that this collection requires to be installed for it to be usable. |
|
20
20
|
**description** | **String** | A short summary description of the collection. |
|
21
21
|
**docs_blob** | [**Object**](.md) | A JSON field holding the various documentation blobs in the collection. |
|
@@ -37,9 +37,9 @@ Name | Type | Description | Notes
|
|
37
37
|
```ruby
|
38
38
|
require 'PulpAnsibleClient'
|
39
39
|
|
40
|
-
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
40
|
+
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(artifact: null,
|
41
|
+
pulp_created: null,
|
41
42
|
pulp_href: null,
|
42
|
-
artifact: null,
|
43
43
|
md5: null,
|
44
44
|
sha1: null,
|
45
45
|
sha224: null,
|
data/docs/AnsibleCopyApi.md
CHANGED
data/docs/AnsibleRoleResponse.md
CHANGED
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**artifact** | **String** | Artifact file representing the physical content |
|
7
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
9
|
**pulp_href** | **String** | | [optional] [readonly]
|
9
|
-
**artifact** | **String** | Artifact file representing the physical content |
|
10
10
|
**version** | **String** | |
|
11
11
|
**name** | **String** | |
|
12
12
|
**namespace** | **String** | |
|
@@ -16,9 +16,9 @@ Name | Type | Description | Notes
|
|
16
16
|
```ruby
|
17
17
|
require 'PulpAnsibleClient'
|
18
18
|
|
19
|
-
instance = PulpAnsibleClient::AnsibleRoleResponse.new(
|
19
|
+
instance = PulpAnsibleClient::AnsibleRoleResponse.new(artifact: null,
|
20
|
+
pulp_created: null,
|
20
21
|
pulp_href: null,
|
21
|
-
artifact: null,
|
22
22
|
version: null,
|
23
23
|
name: null,
|
24
24
|
namespace: null)
|
data/docs/ApiCollectionsApi.md
CHANGED
data/docs/ApiRolesApi.md
CHANGED
data/docs/CollectionImportApi.md
CHANGED
@@ -0,0 +1,192 @@
|
|
1
|
+
# PulpAnsibleClient::ContentCollectionDeprecationsApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://pulp*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**create**](ContentCollectionDeprecationsApi.md#create) | **POST** /pulp/api/v3/content/ansible/collection_deprecations/ | Create an ansible collection deprecated
|
8
|
+
[**list**](ContentCollectionDeprecationsApi.md#list) | **GET** /pulp/api/v3/content/ansible/collection_deprecations/ | List ansible collection deprecateds
|
9
|
+
[**read**](ContentCollectionDeprecationsApi.md#read) | **GET** {ansible_ansible_collection_deprecated_href} | Inspect an ansible collection deprecated
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
## create
|
14
|
+
|
15
|
+
> AnsibleCollectionResponse create(ansible_collection)
|
16
|
+
|
17
|
+
Create an ansible collection deprecated
|
18
|
+
|
19
|
+
ViewSet for AnsibleCollectionDeprecated.
|
20
|
+
|
21
|
+
### Example
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
# load the gem
|
25
|
+
require 'pulp_ansible_client'
|
26
|
+
# setup authorization
|
27
|
+
PulpAnsibleClient.configure do |config|
|
28
|
+
# Configure HTTP basic authorization: basicAuth
|
29
|
+
config.username = 'YOUR USERNAME'
|
30
|
+
config.password = 'YOUR PASSWORD'
|
31
|
+
end
|
32
|
+
|
33
|
+
api_instance = PulpAnsibleClient::ContentCollectionDeprecationsApi.new
|
34
|
+
ansible_collection = PulpAnsibleClient::AnsibleCollection.new # AnsibleCollection |
|
35
|
+
|
36
|
+
begin
|
37
|
+
#Create an ansible collection deprecated
|
38
|
+
result = api_instance.create(ansible_collection)
|
39
|
+
p result
|
40
|
+
rescue PulpAnsibleClient::ApiError => e
|
41
|
+
puts "Exception when calling ContentCollectionDeprecationsApi->create: #{e}"
|
42
|
+
end
|
43
|
+
```
|
44
|
+
|
45
|
+
### Parameters
|
46
|
+
|
47
|
+
|
48
|
+
Name | Type | Description | Notes
|
49
|
+
------------- | ------------- | ------------- | -------------
|
50
|
+
**ansible_collection** | [**AnsibleCollection**](AnsibleCollection.md)| |
|
51
|
+
|
52
|
+
### Return type
|
53
|
+
|
54
|
+
[**AnsibleCollectionResponse**](AnsibleCollectionResponse.md)
|
55
|
+
|
56
|
+
### Authorization
|
57
|
+
|
58
|
+
[basicAuth](../README.md#basicAuth)
|
59
|
+
|
60
|
+
### HTTP request headers
|
61
|
+
|
62
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
63
|
+
- **Accept**: application/json
|
64
|
+
|
65
|
+
|
66
|
+
## list
|
67
|
+
|
68
|
+
> PaginatedansibleCollectionResponseList list(opts)
|
69
|
+
|
70
|
+
List ansible collection deprecateds
|
71
|
+
|
72
|
+
ViewSet for AnsibleCollectionDeprecated.
|
73
|
+
|
74
|
+
### Example
|
75
|
+
|
76
|
+
```ruby
|
77
|
+
# load the gem
|
78
|
+
require 'pulp_ansible_client'
|
79
|
+
# setup authorization
|
80
|
+
PulpAnsibleClient.configure do |config|
|
81
|
+
# Configure HTTP basic authorization: basicAuth
|
82
|
+
config.username = 'YOUR USERNAME'
|
83
|
+
config.password = 'YOUR PASSWORD'
|
84
|
+
end
|
85
|
+
|
86
|
+
api_instance = PulpAnsibleClient::ContentCollectionDeprecationsApi.new
|
87
|
+
opts = {
|
88
|
+
limit: 56, # Integer | Number of results to return per page.
|
89
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
90
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
91
|
+
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
92
|
+
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
93
|
+
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
94
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
95
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
96
|
+
}
|
97
|
+
|
98
|
+
begin
|
99
|
+
#List ansible collection deprecateds
|
100
|
+
result = api_instance.list(opts)
|
101
|
+
p result
|
102
|
+
rescue PulpAnsibleClient::ApiError => e
|
103
|
+
puts "Exception when calling ContentCollectionDeprecationsApi->list: #{e}"
|
104
|
+
end
|
105
|
+
```
|
106
|
+
|
107
|
+
### Parameters
|
108
|
+
|
109
|
+
|
110
|
+
Name | Type | Description | Notes
|
111
|
+
------------- | ------------- | ------------- | -------------
|
112
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
113
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
114
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
115
|
+
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
116
|
+
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
117
|
+
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
118
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
119
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
120
|
+
|
121
|
+
### Return type
|
122
|
+
|
123
|
+
[**PaginatedansibleCollectionResponseList**](PaginatedansibleCollectionResponseList.md)
|
124
|
+
|
125
|
+
### Authorization
|
126
|
+
|
127
|
+
[basicAuth](../README.md#basicAuth)
|
128
|
+
|
129
|
+
### HTTP request headers
|
130
|
+
|
131
|
+
- **Content-Type**: Not defined
|
132
|
+
- **Accept**: application/json
|
133
|
+
|
134
|
+
|
135
|
+
## read
|
136
|
+
|
137
|
+
> AnsibleCollectionResponse read(ansible_ansible_collection_deprecated_href, opts)
|
138
|
+
|
139
|
+
Inspect an ansible collection deprecated
|
140
|
+
|
141
|
+
ViewSet for AnsibleCollectionDeprecated.
|
142
|
+
|
143
|
+
### Example
|
144
|
+
|
145
|
+
```ruby
|
146
|
+
# load the gem
|
147
|
+
require 'pulp_ansible_client'
|
148
|
+
# setup authorization
|
149
|
+
PulpAnsibleClient.configure do |config|
|
150
|
+
# Configure HTTP basic authorization: basicAuth
|
151
|
+
config.username = 'YOUR USERNAME'
|
152
|
+
config.password = 'YOUR PASSWORD'
|
153
|
+
end
|
154
|
+
|
155
|
+
api_instance = PulpAnsibleClient::ContentCollectionDeprecationsApi.new
|
156
|
+
ansible_ansible_collection_deprecated_href = 'ansible_ansible_collection_deprecated_href_example' # String |
|
157
|
+
opts = {
|
158
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
159
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
160
|
+
}
|
161
|
+
|
162
|
+
begin
|
163
|
+
#Inspect an ansible collection deprecated
|
164
|
+
result = api_instance.read(ansible_ansible_collection_deprecated_href, opts)
|
165
|
+
p result
|
166
|
+
rescue PulpAnsibleClient::ApiError => e
|
167
|
+
puts "Exception when calling ContentCollectionDeprecationsApi->read: #{e}"
|
168
|
+
end
|
169
|
+
```
|
170
|
+
|
171
|
+
### Parameters
|
172
|
+
|
173
|
+
|
174
|
+
Name | Type | Description | Notes
|
175
|
+
------------- | ------------- | ------------- | -------------
|
176
|
+
**ansible_ansible_collection_deprecated_href** | **String**| |
|
177
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
178
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
179
|
+
|
180
|
+
### Return type
|
181
|
+
|
182
|
+
[**AnsibleCollectionResponse**](AnsibleCollectionResponse.md)
|
183
|
+
|
184
|
+
### Authorization
|
185
|
+
|
186
|
+
[basicAuth](../README.md#basicAuth)
|
187
|
+
|
188
|
+
### HTTP request headers
|
189
|
+
|
190
|
+
- **Content-Type**: Not defined
|
191
|
+
- **Accept**: application/json
|
192
|
+
|
data/docs/ContentRolesApi.md
CHANGED
data/docs/GalaxyDetailApi.md
CHANGED
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
8
8
|
**name** | **String** | A unique name for this repository. | [optional]
|
9
9
|
**description** | **String** | An optional description. | [optional]
|
10
|
-
**
|
11
|
-
**remote** | **String** |
|
10
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
11
|
+
**remote** | **String** | An optional remote to use by default when syncing. | [optional]
|
12
12
|
**last_synced_metadata_time** | **DateTime** | Last synced metadata time. | [optional]
|
13
13
|
|
14
14
|
## Code Sample
|
@@ -19,7 +19,7 @@ require 'PulpAnsibleClient'
|
|
19
19
|
instance = PulpAnsibleClient::PatchedansibleAnsibleRepository.new(pulp_labels: null,
|
20
20
|
name: null,
|
21
21
|
description: null,
|
22
|
-
|
22
|
+
retain_repo_versions: null,
|
23
23
|
remote: null,
|
24
24
|
last_synced_metadata_time: null)
|
25
25
|
```
|
data/docs/PulpAnsibleApiApi.md
CHANGED
data/docs/PulpAnsibleApiV3Api.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpAnsibleClient::PulpAnsibleApiV3CollectionsApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -130,11 +130,11 @@ No authorization required
|
|
130
130
|
|
131
131
|
## update
|
132
132
|
|
133
|
-
>
|
133
|
+
> AsyncOperationResponse update(name, namespace, path, body)
|
134
134
|
|
135
135
|
|
136
136
|
|
137
|
-
|
137
|
+
Trigger an asynchronous update task
|
138
138
|
|
139
139
|
### Example
|
140
140
|
|
@@ -168,7 +168,7 @@ Name | Type | Description | Notes
|
|
168
168
|
|
169
169
|
### Return type
|
170
170
|
|
171
|
-
[**
|
171
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
172
172
|
|
173
173
|
### Authorization
|
174
174
|
|
data/docs/PulpAnsibleTagsApi.md
CHANGED
data/docs/RemotesRoleApi.md
CHANGED