pulp_ansible_client 0.29.8 → 0.30.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 +4 -4
- data/docs/AnsibleAnsibleCollectionDeprecated.md +2 -0
- data/docs/AnsibleCollectionRemote.md +3 -1
- data/docs/AnsibleCollectionRemoteResponse.md +2 -0
- data/docs/AnsibleCollectionVersionResponse.md +6 -6
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +24 -24
- data/docs/AnsibleRole.md +4 -2
- data/docs/AnsibleRoleResponse.md +6 -6
- data/docs/ContentCollectionSignaturesApi.md +2 -0
- data/docs/ContentCollectionVersionsApi.md +10 -8
- data/docs/PatchedansibleCollectionRemote.md +3 -1
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/RemotesCollectionApi.md +2 -2
- data/docs/RepositoryAddRemoveContent.md +3 -1
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +3 -0
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +15 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_ansible_collection_deprecated.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata_response.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +30 -4
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +27 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +28 -28
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +222 -222
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +124 -124
- data/lib/pulp_ansible_client/models/ansible_role.rb +18 -8
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +28 -28
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +30 -4
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +214 -214
- data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +16 -4
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_signatures_api_spec.rb +1 -0
- data/spec/api/content_collection_versions_api_spec.rb +5 -4
- data/spec/api/remotes_collection_api_spec.rb +1 -1
- data/spec/models/ansible_ansible_collection_deprecated_spec.rb +6 -0
- data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
- data/spec/models/ansible_collection_remote_spec.rb +6 -0
- data/spec/models/ansible_collection_version_response_spec.rb +6 -6
- data/spec/models/ansible_git_remote_response_spec.rb +18 -18
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +6 -6
- data/spec/models/ansible_role_spec.rb +7 -1
- data/spec/models/patchedansible_collection_remote_spec.rb +6 -0
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- data/spec/models/repository_add_remove_content_spec.rb +6 -0
- metadata +121 -121
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 69511481e10d7f28eab496afea266d5064709054981e02a28ecb955e4b1cebe4
|
|
4
|
+
data.tar.gz: 5c477534ef344055ee7a4e24d9e57991ad7838076ea78d00fdf669d9886d4c08
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 052f4827feee35d35d2eb19f39a927d234c3339e21a3dd405030723b889e550ee2bf33a714b684df8be681ebf44df7892325e62b716e9871032a0b8a3dda3cb6
|
|
7
|
+
data.tar.gz: 242a126efd98422f4e3b50c361691a527d023fd5309efead414d6e58713bd8494a5469e87a21b3695252b25aa5dcd57e2a5394a072a2d2885dc6a7db2f422e90
|
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.30.0
|
|
11
11
|
- Generator version: 7.10.0
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -25,16 +25,16 @@ gem build pulp_ansible_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulp_ansible_client-0.
|
|
28
|
+
gem install ./pulp_ansible_client-0.30.0.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.30.0.gem` to install the development dependencies)
|
|
32
32
|
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
34
34
|
|
|
35
35
|
Finally add this to the Gemfile:
|
|
36
36
|
|
|
37
|
-
gem 'pulp_ansible_client', '~> 0.
|
|
37
|
+
gem 'pulp_ansible_client', '~> 0.30.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
8
|
+
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
|
|
8
9
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
9
10
|
| **name** | **String** | The name of the Collection. | |
|
|
10
11
|
| **namespace** | **String** | The namespace of the Collection. | |
|
|
@@ -16,6 +17,7 @@ require 'pulp_ansible_client'
|
|
|
16
17
|
|
|
17
18
|
instance = PulpAnsibleClient::AnsibleAnsibleCollectionDeprecated.new(
|
|
18
19
|
repository: null,
|
|
20
|
+
overwrite: null,
|
|
19
21
|
pulp_labels: null,
|
|
20
22
|
name: null,
|
|
21
23
|
namespace: null
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
| **token** | **String** | The token key to use for authentication. See https://docs.ansible.com/ansible/latest/user_guide/collections_using.html#configuring-the-ansible-galaxy-clientfor more details | [optional] |
|
|
31
31
|
| **sync_dependencies** | **Boolean** | Sync dependencies for collections specified via requirements file | [optional] |
|
|
32
32
|
| **signed_only** | **Boolean** | Sync only collections that have a signature | [optional] |
|
|
33
|
+
| **sync_highest_versions** | **Integer** | The number of highest versions of each collection to sync. Unset or null syncs all versions. 1 syncs only the highest version. | [optional] |
|
|
33
34
|
|
|
34
35
|
## Example
|
|
35
36
|
|
|
@@ -62,7 +63,8 @@ instance = PulpAnsibleClient::AnsibleCollectionRemote.new(
|
|
|
62
63
|
auth_url: null,
|
|
63
64
|
token: null,
|
|
64
65
|
sync_dependencies: null,
|
|
65
|
-
signed_only: null
|
|
66
|
+
signed_only: null,
|
|
67
|
+
sync_highest_versions: null
|
|
66
68
|
)
|
|
67
69
|
```
|
|
68
70
|
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
| **auth_url** | **String** | The URL to receive a session token from, e.g. used with Automation Hub. | [optional] |
|
|
30
30
|
| **sync_dependencies** | **Boolean** | Sync dependencies for collections specified via requirements file | [optional] |
|
|
31
31
|
| **signed_only** | **Boolean** | Sync only collections that have a signature | [optional] |
|
|
32
|
+
| **sync_highest_versions** | **Integer** | The number of highest versions of each collection to sync. Unset or null syncs all versions. 1 syncs only the highest version. | [optional] |
|
|
32
33
|
| **last_sync_task** | **String** | | [optional][readonly] |
|
|
33
34
|
|
|
34
35
|
## Example
|
|
@@ -62,6 +63,7 @@ instance = PulpAnsibleClient::AnsibleCollectionRemoteResponse.new(
|
|
|
62
63
|
auth_url: null,
|
|
63
64
|
sync_dependencies: null,
|
|
64
65
|
signed_only: null,
|
|
66
|
+
sync_highest_versions: null,
|
|
65
67
|
last_sync_task: null
|
|
66
68
|
)
|
|
67
69
|
```
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **vuln_report** | **String** | | [optional][readonly] |
|
|
8
7
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
8
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
10
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
11
10
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
11
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
12
|
+
| **vuln_report** | **String** | | [optional][readonly] |
|
|
12
13
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
|
13
|
-
| **pulp_href** | **String** | | [optional][readonly] |
|
|
14
14
|
| **sha256** | **String** | The SHA-256 checksum if available. | [optional][readonly] |
|
|
15
15
|
| **md5** | **String** | The MD5 checksum if available. | [optional][readonly] |
|
|
16
16
|
| **sha1** | **String** | The SHA-1 checksum if available. | [optional][readonly] |
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
require 'pulp_ansible_client'
|
|
39
39
|
|
|
40
40
|
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
|
41
|
-
vuln_report: null,
|
|
42
41
|
artifact: null,
|
|
42
|
+
pulp_href: null,
|
|
43
43
|
pulp_created: null,
|
|
44
|
-
prn: null,
|
|
45
44
|
pulp_labels: null,
|
|
45
|
+
prn: null,
|
|
46
|
+
vuln_report: null,
|
|
46
47
|
pulp_last_updated: null,
|
|
47
|
-
pulp_href: null,
|
|
48
48
|
sha256: null,
|
|
49
49
|
md5: null,
|
|
50
50
|
sha1: null,
|
data/docs/AnsibleGitRemote.md
CHANGED
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **url** | **String** | The URL of an external content source. | |
|
|
8
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
9
7
|
| **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
10
|
-
| **
|
|
11
|
-
| **
|
|
8
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
9
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
10
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
11
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
12
|
+
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
13
|
+
| **url** | **String** | The URL of an external content source. | |
|
|
12
14
|
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
13
15
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
14
|
-
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
15
|
-
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
16
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
17
16
|
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
18
|
-
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
19
17
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
20
|
-
| **
|
|
21
|
-
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
22
|
-
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
23
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
24
|
-
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
18
|
+
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
25
19
|
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
20
|
+
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
21
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
22
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
26
23
|
| **name** | **String** | A unique name for this remote. | |
|
|
24
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
25
|
+
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
26
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
27
27
|
| **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
|
|
28
28
|
| **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
|
|
29
29
|
|
|
@@ -33,26 +33,26 @@
|
|
|
33
33
|
require 'pulp_ansible_client'
|
|
34
34
|
|
|
35
35
|
instance = PulpAnsibleClient::AnsibleGitRemote.new(
|
|
36
|
-
url: null,
|
|
37
|
-
download_concurrency: null,
|
|
38
36
|
sock_connect_timeout: null,
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
rate_limit: null,
|
|
38
|
+
download_concurrency: null,
|
|
39
|
+
client_cert: null,
|
|
40
|
+
max_retries: null,
|
|
41
|
+
proxy_password: null,
|
|
42
|
+
url: null,
|
|
41
43
|
total_timeout: null,
|
|
42
44
|
ca_cert: null,
|
|
43
|
-
proxy_password: null,
|
|
44
|
-
password: null,
|
|
45
|
-
rate_limit: null,
|
|
46
45
|
proxy_username: null,
|
|
47
|
-
sock_read_timeout: null,
|
|
48
46
|
headers: null,
|
|
49
|
-
|
|
50
|
-
connect_timeout: null,
|
|
51
|
-
username: null,
|
|
52
|
-
pulp_labels: null,
|
|
53
|
-
client_cert: null,
|
|
47
|
+
sock_read_timeout: null,
|
|
54
48
|
proxy_url: null,
|
|
49
|
+
password: null,
|
|
50
|
+
pulp_labels: null,
|
|
51
|
+
tls_validation: null,
|
|
55
52
|
name: null,
|
|
53
|
+
username: null,
|
|
54
|
+
connect_timeout: null,
|
|
55
|
+
client_key: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
8
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
7
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
|
9
8
|
| **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
9
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
10
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
11
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
10
12
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
11
|
-
| **
|
|
13
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
14
|
+
| **url** | **String** | The URL of an external content source. | |
|
|
12
15
|
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
13
|
-
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
14
16
|
| **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
|
|
15
|
-
| **pulp_href** | **String** | | [optional][readonly] |
|
|
16
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
17
17
|
| **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
18
|
-
| **
|
|
18
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
19
19
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
20
|
-
| **
|
|
21
|
-
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
22
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
23
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
24
|
-
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
20
|
+
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
25
21
|
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
22
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
23
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
24
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
26
25
|
| **name** | **String** | A unique name for this remote. | |
|
|
26
|
+
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
27
27
|
| **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
|
|
28
28
|
| **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
|
|
29
29
|
|
|
@@ -33,26 +33,26 @@
|
|
|
33
33
|
require 'pulp_ansible_client'
|
|
34
34
|
|
|
35
35
|
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(
|
|
36
|
-
|
|
37
|
-
download_concurrency: null,
|
|
36
|
+
pulp_href: null,
|
|
38
37
|
sock_connect_timeout: null,
|
|
38
|
+
rate_limit: null,
|
|
39
|
+
download_concurrency: null,
|
|
40
|
+
client_cert: null,
|
|
39
41
|
pulp_created: null,
|
|
40
|
-
|
|
42
|
+
max_retries: null,
|
|
43
|
+
url: null,
|
|
41
44
|
total_timeout: null,
|
|
42
|
-
ca_cert: null,
|
|
43
45
|
pulp_last_updated: null,
|
|
44
|
-
pulp_href: null,
|
|
45
|
-
rate_limit: null,
|
|
46
46
|
hidden_fields: null,
|
|
47
|
-
|
|
47
|
+
ca_cert: null,
|
|
48
48
|
headers: null,
|
|
49
|
-
|
|
50
|
-
connect_timeout: null,
|
|
51
|
-
prn: null,
|
|
52
|
-
pulp_labels: null,
|
|
53
|
-
client_cert: null,
|
|
49
|
+
sock_read_timeout: null,
|
|
54
50
|
proxy_url: null,
|
|
51
|
+
pulp_labels: null,
|
|
52
|
+
prn: null,
|
|
53
|
+
tls_validation: null,
|
|
55
54
|
name: null,
|
|
55
|
+
connect_timeout: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
data/docs/AnsibleRole.md
CHANGED
|
@@ -4,9 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
7
|
+
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
|
|
8
8
|
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
9
9
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
10
|
+
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
10
11
|
| **version** | **String** | | |
|
|
11
12
|
| **name** | **String** | | |
|
|
12
13
|
| **namespace** | **String** | | |
|
|
@@ -17,9 +18,10 @@
|
|
|
17
18
|
require 'pulp_ansible_client'
|
|
18
19
|
|
|
19
20
|
instance = PulpAnsibleClient::AnsibleRole.new(
|
|
20
|
-
|
|
21
|
+
overwrite: null,
|
|
21
22
|
artifact: null,
|
|
22
23
|
pulp_labels: null,
|
|
24
|
+
repository: null,
|
|
23
25
|
version: null,
|
|
24
26
|
name: null,
|
|
25
27
|
namespace: null
|
data/docs/AnsibleRoleResponse.md
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **vuln_report** | **String** | | [optional][readonly] |
|
|
8
7
|
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
8
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
10
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
11
10
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
11
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
12
|
+
| **vuln_report** | **String** | | [optional][readonly] |
|
|
12
13
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
|
13
|
-
| **pulp_href** | **String** | | [optional][readonly] |
|
|
14
14
|
| **version** | **String** | | |
|
|
15
15
|
| **name** | **String** | | |
|
|
16
16
|
| **namespace** | **String** | | |
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
require 'pulp_ansible_client'
|
|
22
22
|
|
|
23
23
|
instance = PulpAnsibleClient::AnsibleRoleResponse.new(
|
|
24
|
-
vuln_report: null,
|
|
25
24
|
artifact: null,
|
|
25
|
+
pulp_href: null,
|
|
26
26
|
pulp_created: null,
|
|
27
|
-
prn: null,
|
|
28
27
|
pulp_labels: null,
|
|
28
|
+
prn: null,
|
|
29
|
+
vuln_report: null,
|
|
29
30
|
pulp_last_updated: null,
|
|
30
|
-
pulp_href: null,
|
|
31
31
|
version: null,
|
|
32
32
|
name: null,
|
|
33
33
|
namespace: null
|
|
@@ -36,6 +36,7 @@ signed_collection = 'signed_collection_example' # String | The content this sign
|
|
|
36
36
|
opts = {
|
|
37
37
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
38
38
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
39
|
+
overwrite: true, # Boolean | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
39
40
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
40
41
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
41
42
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
@@ -77,6 +78,7 @@ end
|
|
|
77
78
|
| **signed_collection** | **String** | The content this signature is pointing to. | |
|
|
78
79
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
79
80
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
81
|
+
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
|
|
80
82
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
81
83
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
82
84
|
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
|
@@ -34,13 +34,14 @@ end
|
|
|
34
34
|
api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
|
|
35
35
|
opts = {
|
|
36
36
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
37
|
-
|
|
38
|
-
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
37
|
+
overwrite: true, # Boolean | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
39
38
|
downloader_config: PulpAnsibleClient::RemoteNetworkConfig.new, # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
40
|
-
|
|
41
|
-
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
39
|
+
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
42
40
|
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
41
|
+
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
42
|
+
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
43
43
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
44
|
+
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
44
45
|
expected_name: 'expected_name_example', # String | The name of the collection.
|
|
45
46
|
expected_namespace: 'expected_namespace_example', # String | The namespace of the collection.
|
|
46
47
|
expected_version: 'expected_version_example' # String | The version of the collection.
|
|
@@ -78,13 +79,14 @@ end
|
|
|
78
79
|
| Name | Type | Description | Notes |
|
|
79
80
|
| ---- | ---- | ----------- | ----- |
|
|
80
81
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
81
|
-
| **
|
|
82
|
-
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
82
|
+
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
|
|
83
83
|
| **downloader_config** | [**RemoteNetworkConfig**](RemoteNetworkConfig.md) | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url. | [optional] |
|
|
84
|
-
| **
|
|
85
|
-
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
84
|
+
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
86
85
|
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
|
86
|
+
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
87
|
+
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
87
88
|
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
|
89
|
+
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
88
90
|
| **expected_name** | **String** | The name of the collection. | [optional] |
|
|
89
91
|
| **expected_namespace** | **String** | The namespace of the collection. | [optional] |
|
|
90
92
|
| **expected_version** | **String** | The version of the collection. | [optional] |
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
| **token** | **String** | The token key to use for authentication. See https://docs.ansible.com/ansible/latest/user_guide/collections_using.html#configuring-the-ansible-galaxy-clientfor more details | [optional] |
|
|
31
31
|
| **sync_dependencies** | **Boolean** | Sync dependencies for collections specified via requirements file | [optional] |
|
|
32
32
|
| **signed_only** | **Boolean** | Sync only collections that have a signature | [optional] |
|
|
33
|
+
| **sync_highest_versions** | **Integer** | The number of highest versions of each collection to sync. Unset or null syncs all versions. 1 syncs only the highest version. | [optional] |
|
|
33
34
|
|
|
34
35
|
## Example
|
|
35
36
|
|
|
@@ -62,7 +63,8 @@ instance = PulpAnsibleClient::PatchedansibleCollectionRemote.new(
|
|
|
62
63
|
auth_url: null,
|
|
63
64
|
token: null,
|
|
64
65
|
sync_dependencies: null,
|
|
65
|
-
signed_only: null
|
|
66
|
+
signed_only: null,
|
|
67
|
+
sync_highest_versions: null
|
|
66
68
|
)
|
|
67
69
|
```
|
|
68
70
|
|
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **url** | **String** | The URL of an external content source. | [optional] |
|
|
8
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
9
7
|
| **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
10
|
-
| **
|
|
11
|
-
| **
|
|
8
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
9
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
10
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
11
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
12
|
+
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
13
|
+
| **url** | **String** | The URL of an external content source. | [optional] |
|
|
12
14
|
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
13
15
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
14
|
-
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
15
|
-
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
16
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
17
16
|
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
18
|
-
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
19
17
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
20
|
-
| **
|
|
21
|
-
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
22
|
-
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
23
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
24
|
-
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
18
|
+
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
25
19
|
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
20
|
+
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
21
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
22
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
26
23
|
| **name** | **String** | A unique name for this remote. | [optional] |
|
|
24
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
25
|
+
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
26
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
27
27
|
| **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
|
|
28
28
|
| **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
|
|
29
29
|
|
|
@@ -33,26 +33,26 @@
|
|
|
33
33
|
require 'pulp_ansible_client'
|
|
34
34
|
|
|
35
35
|
instance = PulpAnsibleClient::PatchedansibleGitRemote.new(
|
|
36
|
-
url: null,
|
|
37
|
-
download_concurrency: null,
|
|
38
36
|
sock_connect_timeout: null,
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
rate_limit: null,
|
|
38
|
+
download_concurrency: null,
|
|
39
|
+
client_cert: null,
|
|
40
|
+
max_retries: null,
|
|
41
|
+
proxy_password: null,
|
|
42
|
+
url: null,
|
|
41
43
|
total_timeout: null,
|
|
42
44
|
ca_cert: null,
|
|
43
|
-
proxy_password: null,
|
|
44
|
-
password: null,
|
|
45
|
-
rate_limit: null,
|
|
46
45
|
proxy_username: null,
|
|
47
|
-
sock_read_timeout: null,
|
|
48
46
|
headers: null,
|
|
49
|
-
|
|
50
|
-
connect_timeout: null,
|
|
51
|
-
username: null,
|
|
52
|
-
pulp_labels: null,
|
|
53
|
-
client_cert: null,
|
|
47
|
+
sock_read_timeout: null,
|
|
54
48
|
proxy_url: null,
|
|
49
|
+
password: null,
|
|
50
|
+
pulp_labels: null,
|
|
51
|
+
tls_validation: null,
|
|
55
52
|
name: null,
|
|
53
|
+
username: null,
|
|
54
|
+
connect_timeout: null,
|
|
55
|
+
client_key: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
|
@@ -276,7 +276,7 @@ opts = {
|
|
|
276
276
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
|
277
277
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
|
278
278
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
279
|
-
ordering: ['-auth_url'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `requirements_file` - Requirements file * `-requirements_file` - Requirements file (descending) * `auth_url` - Auth url * `-auth_url` - Auth url (descending) * `token` - Token * `-token` - Token (descending) * `sync_dependencies` - Sync dependencies * `-sync_dependencies` - Sync dependencies (descending) * `signed_only` - Signed only * `-signed_only` - Signed only (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
279
|
+
ordering: ['-auth_url'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `requirements_file` - Requirements file * `-requirements_file` - Requirements file (descending) * `auth_url` - Auth url * `-auth_url` - Auth url (descending) * `token` - Token * `-token` - Token (descending) * `sync_dependencies` - Sync dependencies * `-sync_dependencies` - Sync dependencies (descending) * `signed_only` - Signed only * `-signed_only` - Signed only (descending) * `sync_highest_versions` - Sync highest versions * `-sync_highest_versions` - Sync highest versions (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
280
280
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
281
281
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
282
282
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
@@ -340,7 +340,7 @@ end
|
|
|
340
340
|
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
|
341
341
|
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
|
342
342
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
343
|
-
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `requirements_file` - Requirements file * `-requirements_file` - Requirements file (descending) * `auth_url` - Auth url * `-auth_url` - Auth url (descending) * `token` - Token * `-token` - Token (descending) * `sync_dependencies` - Sync dependencies * `-sync_dependencies` - Sync dependencies (descending) * `signed_only` - Signed only * `-signed_only` - Signed only (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
343
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `requirements_file` - Requirements file * `-requirements_file` - Requirements file (descending) * `auth_url` - Auth url * `-auth_url` - Auth url (descending) * `token` - Token * `-token` - Token (descending) * `sync_dependencies` - Sync dependencies * `-sync_dependencies` - Sync dependencies (descending) * `signed_only` - Signed only * `-signed_only` - Signed only (descending) * `sync_highest_versions` - Sync highest versions * `-sync_highest_versions` - Sync highest versions (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
344
344
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
345
345
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
346
346
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
| **add_content_units** | **Array<String>** | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional] |
|
|
8
8
|
| **remove_content_units** | **Array<String>** | A list of content units to remove from the latest repository version. You may also specify '*' as an entry to remove all content. This content is removed before add_content_units are added. | [optional] |
|
|
9
9
|
| **base_version** | **String** | A repository version whose content will be used as the initial set of content for the new repository version | [optional] |
|
|
10
|
+
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Defaults to true. | [optional][default to true] |
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
@@ -16,7 +17,8 @@ require 'pulp_ansible_client'
|
|
|
16
17
|
instance = PulpAnsibleClient::RepositoryAddRemoveContent.new(
|
|
17
18
|
add_content_units: null,
|
|
18
19
|
remove_content_units: null,
|
|
19
|
-
base_version: null
|
|
20
|
+
base_version: null,
|
|
21
|
+
overwrite: null
|
|
20
22
|
)
|
|
21
23
|
```
|
|
22
24
|
|
|
@@ -25,6 +25,7 @@ module PulpAnsibleClient
|
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
26
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
27
27
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
28
|
+
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
28
29
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
29
30
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
30
31
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
@@ -42,6 +43,7 @@ module PulpAnsibleClient
|
|
|
42
43
|
# @param [Hash] opts the optional parameters
|
|
43
44
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
44
45
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
46
|
+
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
45
47
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
46
48
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
47
49
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
@@ -81,6 +83,7 @@ module PulpAnsibleClient
|
|
|
81
83
|
form_params = opts[:form_params] || {}
|
|
82
84
|
form_params['signed_collection'] = signed_collection
|
|
83
85
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
86
|
+
form_params['overwrite'] = opts[:'overwrite'] if !opts[:'overwrite'].nil?
|
|
84
87
|
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
85
88
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
86
89
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|