pulp_ansible_client 0.26.0 → 0.27.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 +10 -7
- data/docs/AnsibleCollectionVersionResponse.md +7 -7
- data/docs/AnsibleCollectionsApi.md +26 -8
- data/docs/AnsibleCopyApi.md +8 -4
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +30 -30
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +6 -6
- data/docs/ApiPluginAnsibleSearchCollectionVersionsApi.md +10 -4
- data/docs/ApiRolesApi.md +2 -0
- data/docs/CollectionImportApi.md +2 -0
- data/docs/CollectionMetadataResponse.md +1 -1
- data/docs/CollectionSummaryResponse.md +1 -1
- data/docs/CollectionSummaryResponseTagsInner.md +18 -0
- data/docs/ContentCollectionDeprecationsApi.md +28 -12
- data/docs/ContentCollectionMarksApi.md +28 -12
- data/docs/ContentCollectionSignaturesApi.md +22 -8
- data/docs/ContentCollectionVersionsApi.md +32 -18
- data/docs/ContentNamespacesApi.md +22 -8
- data/docs/ContentRolesApi.md +28 -12
- data/docs/DistributionsAnsibleApi.md +72 -32
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/PulpAnsibleApiApi.md +2 -0
- data/docs/PulpAnsibleApiV3Api.md +2 -0
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +2 -0
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +2 -0
- data/docs/PulpAnsibleApiV3CollectionsApi.md +20 -8
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +14 -6
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +2 -0
- data/docs/PulpAnsibleApiV3NamespacesApi.md +4 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +20 -8
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +14 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +16 -4
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +8 -0
- data/docs/PulpAnsibleDefaultApiApi.md +14 -5
- data/docs/PulpAnsibleDefaultApiV3Api.md +14 -5
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +14 -5
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +20 -8
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +14 -6
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +4 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +14 -5
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +20 -8
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +14 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +16 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +10 -4
- data/docs/PulpAnsibleTagsApi.md +6 -4
- data/docs/RemotesCollectionApi.md +72 -32
- data/docs/RemotesGitApi.md +72 -32
- data/docs/RemotesRoleApi.md +72 -32
- data/docs/RepositoriesAnsibleApi.md +136 -64
- data/docs/RepositoriesAnsibleVersionsApi.md +28 -12
- data/docs/VersionsApi.md +2 -0
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +21 -0
- data/lib/pulp_ansible_client/api/ansible_copy_api.rb +3 -0
- data/lib/pulp_ansible_client/api/api_plugin_ansible_search_collection_versions_api.rb +6 -0
- data/lib/pulp_ansible_client/api/api_roles_api.rb +3 -0
- data/lib/pulp_ansible_client/api/collection_import_api.rb +3 -0
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +15 -0
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +15 -0
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +15 -0
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +30 -15
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +15 -0
- data/lib/pulp_ansible_client/api/content_roles_api.rb +15 -0
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +36 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +12 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +6 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +12 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +15 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collection_versions_all_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +12 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +6 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +12 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +15 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +6 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +5 -2
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +36 -0
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +36 -0
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +36 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +60 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +15 -0
- data/lib/pulp_ansible_client/api/versions_api.rb +3 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +26 -26
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +224 -224
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +167 -167
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +27 -27
- data/lib/pulp_ansible_client/models/collection_metadata_response.rb +0 -7
- data/lib/pulp_ansible_client/models/collection_summary_response.rb +1 -1
- data/lib/pulp_ansible_client/models/{ansible_tag_response.rb → collection_summary_response_tags_inner.rb} +3 -5
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +218 -218
- data/lib/pulp_ansible_client/models/tag_response.rb +1 -1
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +1 -1
- data/spec/api/ansible_collections_api_spec.rb +7 -0
- data/spec/api/ansible_copy_api_spec.rb +1 -0
- data/spec/api/api_plugin_ansible_search_collection_versions_api_spec.rb +2 -0
- data/spec/api/api_roles_api_spec.rb +1 -0
- data/spec/api/collection_import_api_spec.rb +1 -0
- data/spec/api/content_collection_deprecations_api_spec.rb +5 -0
- data/spec/api/content_collection_marks_api_spec.rb +5 -0
- data/spec/api/content_collection_signatures_api_spec.rb +5 -0
- data/spec/api/content_collection_versions_api_spec.rb +10 -5
- data/spec/api/content_namespaces_api_spec.rb +5 -0
- data/spec/api/content_roles_api_spec.rb +5 -0
- data/spec/api/distributions_ansible_api_spec.rb +12 -0
- data/spec/api/pulp_ansible_api_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +4 -1
- data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +2 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +5 -0
- data/spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_default_api_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +4 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +2 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +5 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +2 -0
- data/spec/api/pulp_ansible_tags_api_spec.rb +2 -1
- data/spec/api/remotes_collection_api_spec.rb +12 -0
- data/spec/api/remotes_git_api_spec.rb +12 -0
- data/spec/api/remotes_role_api_spec.rb +12 -0
- data/spec/api/repositories_ansible_api_spec.rb +20 -0
- data/spec/api/repositories_ansible_versions_api_spec.rb +5 -0
- data/spec/api/versions_api_spec.rb +1 -0
- data/spec/models/ansible_collection_version_response_spec.rb +5 -5
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +5 -5
- data/spec/models/ansible_role_spec.rb +3 -3
- data/spec/models/{ansible_tag_response_spec.rb → collection_summary_response_tags_inner_spec.rb} +6 -6
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +124 -124
- data/docs/AnsibleTagResponse.md +0 -18
@@ -13,7 +13,7 @@ All URIs are relative to *http://localhost:24817*
|
|
13
13
|
|
14
14
|
## delete
|
15
15
|
|
16
|
-
> <AsyncOperationResponse> delete(ansible_ansible_repository_version_href)
|
16
|
+
> <AsyncOperationResponse> delete(ansible_ansible_repository_version_href, opts)
|
17
17
|
|
18
18
|
Delete a repository version
|
19
19
|
|
@@ -33,10 +33,13 @@ end
|
|
33
33
|
|
34
34
|
api_instance = PulpAnsibleClient::RepositoriesAnsibleVersionsApi.new
|
35
35
|
ansible_ansible_repository_version_href = 'ansible_ansible_repository_version_href_example' # String |
|
36
|
+
opts = {
|
37
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
38
|
+
}
|
36
39
|
|
37
40
|
begin
|
38
41
|
# Delete a repository version
|
39
|
-
result = api_instance.delete(ansible_ansible_repository_version_href)
|
42
|
+
result = api_instance.delete(ansible_ansible_repository_version_href, opts)
|
40
43
|
p result
|
41
44
|
rescue PulpAnsibleClient::ApiError => e
|
42
45
|
puts "Error when calling RepositoriesAnsibleVersionsApi->delete: #{e}"
|
@@ -47,12 +50,12 @@ end
|
|
47
50
|
|
48
51
|
This returns an Array which contains the response data, status code and headers.
|
49
52
|
|
50
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(ansible_ansible_repository_version_href)
|
53
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(ansible_ansible_repository_version_href, opts)
|
51
54
|
|
52
55
|
```ruby
|
53
56
|
begin
|
54
57
|
# Delete a repository version
|
55
|
-
data, status_code, headers = api_instance.delete_with_http_info(ansible_ansible_repository_version_href)
|
58
|
+
data, status_code, headers = api_instance.delete_with_http_info(ansible_ansible_repository_version_href, opts)
|
56
59
|
p status_code # => 2xx
|
57
60
|
p headers # => { ... }
|
58
61
|
p data # => <AsyncOperationResponse>
|
@@ -66,6 +69,7 @@ end
|
|
66
69
|
| Name | Type | Description | Notes |
|
67
70
|
| ---- | ---- | ----------- | ----- |
|
68
71
|
| **ansible_ansible_repository_version_href** | **String** | | |
|
72
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
69
73
|
|
70
74
|
### Return type
|
71
75
|
|
@@ -104,6 +108,7 @@ end
|
|
104
108
|
api_instance = PulpAnsibleClient::RepositoriesAnsibleVersionsApi.new
|
105
109
|
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
106
110
|
opts = {
|
111
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
107
112
|
content: 'content_example', # String | Content Unit referenced by HREF/PRN
|
108
113
|
content__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
109
114
|
limit: 56, # Integer | Number of results to return per page.
|
@@ -161,6 +166,7 @@ end
|
|
161
166
|
| Name | Type | Description | Notes |
|
162
167
|
| ---- | ---- | ----------- | ----- |
|
163
168
|
| **ansible_ansible_repository_href** | **String** | | |
|
169
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
164
170
|
| **content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
|
165
171
|
| **content__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
166
172
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
@@ -222,6 +228,7 @@ end
|
|
222
228
|
api_instance = PulpAnsibleClient::RepositoriesAnsibleVersionsApi.new
|
223
229
|
ansible_ansible_repository_version_href = 'ansible_ansible_repository_version_href_example' # String |
|
224
230
|
opts = {
|
231
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
225
232
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
226
233
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
227
234
|
}
|
@@ -258,6 +265,7 @@ end
|
|
258
265
|
| Name | Type | Description | Notes |
|
259
266
|
| ---- | ---- | ----------- | ----- |
|
260
267
|
| **ansible_ansible_repository_version_href** | **String** | | |
|
268
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
261
269
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
262
270
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
263
271
|
|
@@ -277,7 +285,7 @@ end
|
|
277
285
|
|
278
286
|
## rebuild_metadata
|
279
287
|
|
280
|
-
> <AsyncOperationResponse> rebuild_metadata(ansible_ansible_repository_version_href, ansible_repository_rebuild)
|
288
|
+
> <AsyncOperationResponse> rebuild_metadata(ansible_ansible_repository_version_href, ansible_repository_rebuild, opts)
|
281
289
|
|
282
290
|
|
283
291
|
|
@@ -298,10 +306,13 @@ end
|
|
298
306
|
api_instance = PulpAnsibleClient::RepositoriesAnsibleVersionsApi.new
|
299
307
|
ansible_ansible_repository_version_href = 'ansible_ansible_repository_version_href_example' # String |
|
300
308
|
ansible_repository_rebuild = PulpAnsibleClient::AnsibleRepositoryRebuild.new # AnsibleRepositoryRebuild |
|
309
|
+
opts = {
|
310
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
311
|
+
}
|
301
312
|
|
302
313
|
begin
|
303
314
|
|
304
|
-
result = api_instance.rebuild_metadata(ansible_ansible_repository_version_href, ansible_repository_rebuild)
|
315
|
+
result = api_instance.rebuild_metadata(ansible_ansible_repository_version_href, ansible_repository_rebuild, opts)
|
305
316
|
p result
|
306
317
|
rescue PulpAnsibleClient::ApiError => e
|
307
318
|
puts "Error when calling RepositoriesAnsibleVersionsApi->rebuild_metadata: #{e}"
|
@@ -312,12 +323,12 @@ end
|
|
312
323
|
|
313
324
|
This returns an Array which contains the response data, status code and headers.
|
314
325
|
|
315
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> rebuild_metadata_with_http_info(ansible_ansible_repository_version_href, ansible_repository_rebuild)
|
326
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> rebuild_metadata_with_http_info(ansible_ansible_repository_version_href, ansible_repository_rebuild, opts)
|
316
327
|
|
317
328
|
```ruby
|
318
329
|
begin
|
319
330
|
|
320
|
-
data, status_code, headers = api_instance.rebuild_metadata_with_http_info(ansible_ansible_repository_version_href, ansible_repository_rebuild)
|
331
|
+
data, status_code, headers = api_instance.rebuild_metadata_with_http_info(ansible_ansible_repository_version_href, ansible_repository_rebuild, opts)
|
321
332
|
p status_code # => 2xx
|
322
333
|
p headers # => { ... }
|
323
334
|
p data # => <AsyncOperationResponse>
|
@@ -332,6 +343,7 @@ end
|
|
332
343
|
| ---- | ---- | ----------- | ----- |
|
333
344
|
| **ansible_ansible_repository_version_href** | **String** | | |
|
334
345
|
| **ansible_repository_rebuild** | [**AnsibleRepositoryRebuild**](AnsibleRepositoryRebuild.md) | | |
|
346
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
335
347
|
|
336
348
|
### Return type
|
337
349
|
|
@@ -349,7 +361,7 @@ end
|
|
349
361
|
|
350
362
|
## repair
|
351
363
|
|
352
|
-
> <AsyncOperationResponse> repair(ansible_ansible_repository_version_href, repair)
|
364
|
+
> <AsyncOperationResponse> repair(ansible_ansible_repository_version_href, repair, opts)
|
353
365
|
|
354
366
|
|
355
367
|
|
@@ -370,10 +382,13 @@ end
|
|
370
382
|
api_instance = PulpAnsibleClient::RepositoriesAnsibleVersionsApi.new
|
371
383
|
ansible_ansible_repository_version_href = 'ansible_ansible_repository_version_href_example' # String |
|
372
384
|
repair = PulpAnsibleClient::Repair.new # Repair |
|
385
|
+
opts = {
|
386
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
387
|
+
}
|
373
388
|
|
374
389
|
begin
|
375
390
|
|
376
|
-
result = api_instance.repair(ansible_ansible_repository_version_href, repair)
|
391
|
+
result = api_instance.repair(ansible_ansible_repository_version_href, repair, opts)
|
377
392
|
p result
|
378
393
|
rescue PulpAnsibleClient::ApiError => e
|
379
394
|
puts "Error when calling RepositoriesAnsibleVersionsApi->repair: #{e}"
|
@@ -384,12 +399,12 @@ end
|
|
384
399
|
|
385
400
|
This returns an Array which contains the response data, status code and headers.
|
386
401
|
|
387
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> repair_with_http_info(ansible_ansible_repository_version_href, repair)
|
402
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> repair_with_http_info(ansible_ansible_repository_version_href, repair, opts)
|
388
403
|
|
389
404
|
```ruby
|
390
405
|
begin
|
391
406
|
|
392
|
-
data, status_code, headers = api_instance.repair_with_http_info(ansible_ansible_repository_version_href, repair)
|
407
|
+
data, status_code, headers = api_instance.repair_with_http_info(ansible_ansible_repository_version_href, repair, opts)
|
393
408
|
p status_code # => 2xx
|
394
409
|
p headers # => { ... }
|
395
410
|
p data # => <AsyncOperationResponse>
|
@@ -404,6 +419,7 @@ end
|
|
404
419
|
| ---- | ---- | ----------- | ----- |
|
405
420
|
| **ansible_ansible_repository_version_href** | **String** | | |
|
406
421
|
| **repair** | [**Repair**](Repair.md) | | |
|
422
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
407
423
|
|
408
424
|
### Return type
|
409
425
|
|
data/docs/VersionsApi.md
CHANGED
@@ -24,6 +24,7 @@ require 'pulp_ansible_client'
|
|
24
24
|
api_instance = PulpAnsibleClient::VersionsApi.new
|
25
25
|
ansible_role_href = 'ansible_role_href_example' # String |
|
26
26
|
opts = {
|
27
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
27
28
|
limit: 56, # Integer | Number of results to return per page.
|
28
29
|
offset: 56, # Integer | The initial index from which to return the results.
|
29
30
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
@@ -62,6 +63,7 @@ end
|
|
62
63
|
| Name | Type | Description | Notes |
|
63
64
|
| ---- | ---- | ----------- | ----- |
|
64
65
|
| **ansible_role_href** | **String** | | |
|
66
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
65
67
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
66
68
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
67
69
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
@@ -24,6 +24,7 @@ module PulpAnsibleClient
|
|
24
24
|
# @param ansible_collection_href [String]
|
25
25
|
# @param nested_role [NestedRole]
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
27
28
|
# @return [NestedRoleResponse]
|
28
29
|
def add_role(ansible_collection_href, nested_role, opts = {})
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(ansible_collection_href, nested_role, opts)
|
@@ -35,6 +36,7 @@ module PulpAnsibleClient
|
|
35
36
|
# @param ansible_collection_href [String]
|
36
37
|
# @param nested_role [NestedRole]
|
37
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
38
40
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
39
41
|
def add_role_with_http_info(ansible_collection_href, nested_role, opts = {})
|
40
42
|
if @api_client.config.debugging
|
@@ -63,6 +65,7 @@ module PulpAnsibleClient
|
|
63
65
|
if !content_type.nil?
|
64
66
|
header_params['Content-Type'] = content_type
|
65
67
|
end
|
68
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
66
69
|
|
67
70
|
# form parameters
|
68
71
|
form_params = opts[:form_params] || {}
|
@@ -96,6 +99,7 @@ module PulpAnsibleClient
|
|
96
99
|
# List collections
|
97
100
|
# Viewset for Ansible Collections.
|
98
101
|
# @param [Hash] opts the optional parameters
|
102
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
99
103
|
# @option opts [Integer] :limit Number of results to return per page.
|
100
104
|
# @option opts [String] :name
|
101
105
|
# @option opts [String] :namespace
|
@@ -116,6 +120,7 @@ module PulpAnsibleClient
|
|
116
120
|
# List collections
|
117
121
|
# Viewset for Ansible Collections.
|
118
122
|
# @param [Hash] opts the optional parameters
|
123
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
119
124
|
# @option opts [Integer] :limit Number of results to return per page.
|
120
125
|
# @option opts [String] :name
|
121
126
|
# @option opts [String] :namespace
|
@@ -157,6 +162,7 @@ module PulpAnsibleClient
|
|
157
162
|
header_params = opts[:header_params] || {}
|
158
163
|
# HTTP header 'Accept' (if needed)
|
159
164
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
165
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
160
166
|
|
161
167
|
# form parameters
|
162
168
|
form_params = opts[:form_params] || {}
|
@@ -191,6 +197,7 @@ module PulpAnsibleClient
|
|
191
197
|
# List roles assigned to this object.
|
192
198
|
# @param ansible_collection_href [String]
|
193
199
|
# @param [Hash] opts the optional parameters
|
200
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
194
201
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
195
202
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
196
203
|
# @return [ObjectRolesResponse]
|
@@ -203,6 +210,7 @@ module PulpAnsibleClient
|
|
203
210
|
# List roles assigned to this object.
|
204
211
|
# @param ansible_collection_href [String]
|
205
212
|
# @param [Hash] opts the optional parameters
|
213
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
206
214
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
207
215
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
208
216
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
@@ -226,6 +234,7 @@ module PulpAnsibleClient
|
|
226
234
|
header_params = opts[:header_params] || {}
|
227
235
|
# HTTP header 'Accept' (if needed)
|
228
236
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
237
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
229
238
|
|
230
239
|
# form parameters
|
231
240
|
form_params = opts[:form_params] || {}
|
@@ -260,6 +269,7 @@ module PulpAnsibleClient
|
|
260
269
|
# List permissions available to the current user on this object.
|
261
270
|
# @param ansible_collection_href [String]
|
262
271
|
# @param [Hash] opts the optional parameters
|
272
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
263
273
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
264
274
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
265
275
|
# @return [MyPermissionsResponse]
|
@@ -272,6 +282,7 @@ module PulpAnsibleClient
|
|
272
282
|
# List permissions available to the current user on this object.
|
273
283
|
# @param ansible_collection_href [String]
|
274
284
|
# @param [Hash] opts the optional parameters
|
285
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
275
286
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
276
287
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
277
288
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
@@ -295,6 +306,7 @@ module PulpAnsibleClient
|
|
295
306
|
header_params = opts[:header_params] || {}
|
296
307
|
# HTTP header 'Accept' (if needed)
|
297
308
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
309
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
298
310
|
|
299
311
|
# form parameters
|
300
312
|
form_params = opts[:form_params] || {}
|
@@ -329,6 +341,7 @@ module PulpAnsibleClient
|
|
329
341
|
# Viewset for Ansible Collections.
|
330
342
|
# @param ansible_collection_href [String]
|
331
343
|
# @param [Hash] opts the optional parameters
|
344
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
332
345
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
333
346
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
334
347
|
# @return [AnsibleCollectionResponse]
|
@@ -341,6 +354,7 @@ module PulpAnsibleClient
|
|
341
354
|
# Viewset for Ansible Collections.
|
342
355
|
# @param ansible_collection_href [String]
|
343
356
|
# @param [Hash] opts the optional parameters
|
357
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
344
358
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
345
359
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
346
360
|
# @return [Array<(AnsibleCollectionResponse, Integer, Hash)>] AnsibleCollectionResponse data, response status code and response headers
|
@@ -364,6 +378,7 @@ module PulpAnsibleClient
|
|
364
378
|
header_params = opts[:header_params] || {}
|
365
379
|
# HTTP header 'Accept' (if needed)
|
366
380
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
381
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
367
382
|
|
368
383
|
# form parameters
|
369
384
|
form_params = opts[:form_params] || {}
|
@@ -399,6 +414,7 @@ module PulpAnsibleClient
|
|
399
414
|
# @param ansible_collection_href [String]
|
400
415
|
# @param nested_role [NestedRole]
|
401
416
|
# @param [Hash] opts the optional parameters
|
417
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
402
418
|
# @return [NestedRoleResponse]
|
403
419
|
def remove_role(ansible_collection_href, nested_role, opts = {})
|
404
420
|
data, _status_code, _headers = remove_role_with_http_info(ansible_collection_href, nested_role, opts)
|
@@ -410,6 +426,7 @@ module PulpAnsibleClient
|
|
410
426
|
# @param ansible_collection_href [String]
|
411
427
|
# @param nested_role [NestedRole]
|
412
428
|
# @param [Hash] opts the optional parameters
|
429
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
413
430
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
414
431
|
def remove_role_with_http_info(ansible_collection_href, nested_role, opts = {})
|
415
432
|
if @api_client.config.debugging
|
@@ -438,6 +455,7 @@ module PulpAnsibleClient
|
|
438
455
|
if !content_type.nil?
|
439
456
|
header_params['Content-Type'] = content_type
|
440
457
|
end
|
458
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
441
459
|
|
442
460
|
# form parameters
|
443
461
|
form_params = opts[:form_params] || {}
|
@@ -472,6 +490,7 @@ module PulpAnsibleClient
|
|
472
490
|
# Create an artifact and trigger an asynchronous task to create Collection content from it.
|
473
491
|
# @param file [File] The Collection tarball.
|
474
492
|
# @param [Hash] opts the optional parameters
|
493
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
475
494
|
# @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
|
476
495
|
# @option opts [String] :expected_namespace The expected 'namespace' of the Collection to be verified against the metadata during import.
|
477
496
|
# @option opts [String] :expected_name The expected 'name' of the Collection to be verified against the metadata during import.
|
@@ -486,6 +505,7 @@ module PulpAnsibleClient
|
|
486
505
|
# Create an artifact and trigger an asynchronous task to create Collection content from it.
|
487
506
|
# @param file [File] The Collection tarball.
|
488
507
|
# @param [Hash] opts the optional parameters
|
508
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
489
509
|
# @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
|
490
510
|
# @option opts [String] :expected_namespace The expected 'namespace' of the Collection to be verified against the metadata during import.
|
491
511
|
# @option opts [String] :expected_name The expected 'name' of the Collection to be verified against the metadata during import.
|
@@ -530,6 +550,7 @@ module PulpAnsibleClient
|
|
530
550
|
if !content_type.nil?
|
531
551
|
header_params['Content-Type'] = content_type
|
532
552
|
end
|
553
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
533
554
|
|
534
555
|
# form parameters
|
535
556
|
form_params = opts[:form_params] || {}
|
@@ -23,6 +23,7 @@ module PulpAnsibleClient
|
|
23
23
|
# Trigger an asynchronous task to copy ansible content from one repository into another, creating a new repository version.
|
24
24
|
# @param copy [Copy]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
26
27
|
# @return [AsyncOperationResponse]
|
27
28
|
def copy_content(copy, opts = {})
|
28
29
|
data, _status_code, _headers = copy_content_with_http_info(copy, opts)
|
@@ -33,6 +34,7 @@ module PulpAnsibleClient
|
|
33
34
|
# Trigger an asynchronous task to copy ansible content from one repository into another, creating a new repository version.
|
34
35
|
# @param copy [Copy]
|
35
36
|
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
36
38
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
37
39
|
def copy_content_with_http_info(copy, opts = {})
|
38
40
|
if @api_client.config.debugging
|
@@ -57,6 +59,7 @@ module PulpAnsibleClient
|
|
57
59
|
if !content_type.nil?
|
58
60
|
header_params['Content-Type'] = content_type
|
59
61
|
end
|
62
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
60
63
|
|
61
64
|
# form parameters
|
62
65
|
form_params = opts[:form_params] || {}
|
@@ -23,6 +23,7 @@ module PulpAnsibleClient
|
|
23
23
|
# A viewset for cross-repo searches.
|
24
24
|
# @param ansible_cross_repository_collection_version_index_href [String]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
26
27
|
# @option opts [String] :dependency
|
27
28
|
# @option opts [Boolean] :deprecated
|
28
29
|
# @option opts [Array<String>] :distribution Filter collectionversions that are in these distrubtion ids.
|
@@ -58,6 +59,7 @@ module PulpAnsibleClient
|
|
58
59
|
# A viewset for cross-repo searches.
|
59
60
|
# @param ansible_cross_repository_collection_version_index_href [String]
|
60
61
|
# @param [Hash] opts the optional parameters
|
62
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
61
63
|
# @option opts [String] :dependency
|
62
64
|
# @option opts [Boolean] :deprecated
|
63
65
|
# @option opts [Array<String>] :distribution Filter collectionversions that are in these distrubtion ids.
|
@@ -131,6 +133,7 @@ module PulpAnsibleClient
|
|
131
133
|
header_params = opts[:header_params] || {}
|
132
134
|
# HTTP header 'Accept' (if needed)
|
133
135
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
136
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
134
137
|
|
135
138
|
# form parameters
|
136
139
|
form_params = opts[:form_params] || {}
|
@@ -165,6 +168,7 @@ module PulpAnsibleClient
|
|
165
168
|
# @param ansible_cross_repository_collection_version_index_href [String]
|
166
169
|
# @param collection_version_search_list [CollectionVersionSearchList]
|
167
170
|
# @param [Hash] opts the optional parameters
|
171
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
168
172
|
# @return [CollectionVersionSearchListResponse]
|
169
173
|
def rebuild(ansible_cross_repository_collection_version_index_href, collection_version_search_list, opts = {})
|
170
174
|
data, _status_code, _headers = rebuild_with_http_info(ansible_cross_repository_collection_version_index_href, collection_version_search_list, opts)
|
@@ -175,6 +179,7 @@ module PulpAnsibleClient
|
|
175
179
|
# @param ansible_cross_repository_collection_version_index_href [String]
|
176
180
|
# @param collection_version_search_list [CollectionVersionSearchList]
|
177
181
|
# @param [Hash] opts the optional parameters
|
182
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
178
183
|
# @return [Array<(CollectionVersionSearchListResponse, Integer, Hash)>] CollectionVersionSearchListResponse data, response status code and response headers
|
179
184
|
def rebuild_with_http_info(ansible_cross_repository_collection_version_index_href, collection_version_search_list, opts = {})
|
180
185
|
if @api_client.config.debugging
|
@@ -203,6 +208,7 @@ module PulpAnsibleClient
|
|
203
208
|
if !content_type.nil?
|
204
209
|
header_params['Content-Type'] = content_type
|
205
210
|
end
|
211
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
206
212
|
|
207
213
|
# form parameters
|
208
214
|
form_params = opts[:form_params] || {}
|
@@ -22,6 +22,7 @@ module PulpAnsibleClient
|
|
22
22
|
# APIView for Roles.
|
23
23
|
# @param ansible_role_href [String]
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
25
26
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
27
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
28
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
@@ -35,6 +36,7 @@ module PulpAnsibleClient
|
|
35
36
|
# APIView for Roles.
|
36
37
|
# @param ansible_role_href [String]
|
37
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
38
40
|
# @option opts [Integer] :limit Number of results to return per page.
|
39
41
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
40
42
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
@@ -62,6 +64,7 @@ module PulpAnsibleClient
|
|
62
64
|
header_params = opts[:header_params] || {}
|
63
65
|
# HTTP header 'Accept' (if needed)
|
64
66
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
67
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
65
68
|
|
66
69
|
# form parameters
|
67
70
|
form_params = opts[:form_params] || {}
|
@@ -23,6 +23,7 @@ module PulpAnsibleClient
|
|
23
23
|
# Returns a CollectionImport object.
|
24
24
|
# @param ansible_collection_import_href [String]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
26
27
|
# @option opts [String] :since Filter messages since a given timestamp
|
27
28
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
28
29
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -36,6 +37,7 @@ module PulpAnsibleClient
|
|
36
37
|
# Returns a CollectionImport object.
|
37
38
|
# @param ansible_collection_import_href [String]
|
38
39
|
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
39
41
|
# @option opts [String] :since Filter messages since a given timestamp
|
40
42
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
41
43
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -61,6 +63,7 @@ module PulpAnsibleClient
|
|
61
63
|
header_params = opts[:header_params] || {}
|
62
64
|
# HTTP header 'Accept' (if needed)
|
63
65
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
66
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
64
67
|
|
65
68
|
# form parameters
|
66
69
|
form_params = opts[:form_params] || {}
|
@@ -23,6 +23,7 @@ module PulpAnsibleClient
|
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
24
|
# @param ansible_ansible_collection_deprecated [AnsibleAnsibleCollectionDeprecated]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
26
27
|
# @return [AsyncOperationResponse]
|
27
28
|
def create(ansible_ansible_collection_deprecated, opts = {})
|
28
29
|
data, _status_code, _headers = create_with_http_info(ansible_ansible_collection_deprecated, opts)
|
@@ -33,6 +34,7 @@ module PulpAnsibleClient
|
|
33
34
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
34
35
|
# @param ansible_ansible_collection_deprecated [AnsibleAnsibleCollectionDeprecated]
|
35
36
|
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
36
38
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
37
39
|
def create_with_http_info(ansible_ansible_collection_deprecated, opts = {})
|
38
40
|
if @api_client.config.debugging
|
@@ -57,6 +59,7 @@ module PulpAnsibleClient
|
|
57
59
|
if !content_type.nil?
|
58
60
|
header_params['Content-Type'] = content_type
|
59
61
|
end
|
62
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
60
63
|
|
61
64
|
# form parameters
|
62
65
|
form_params = opts[:form_params] || {}
|
@@ -90,6 +93,7 @@ module PulpAnsibleClient
|
|
90
93
|
# List ansible collection deprecateds
|
91
94
|
# ViewSet for AnsibleCollectionDeprecated.
|
92
95
|
# @param [Hash] opts the optional parameters
|
96
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
93
97
|
# @option opts [Integer] :limit Number of results to return per page.
|
94
98
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
95
99
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -113,6 +117,7 @@ module PulpAnsibleClient
|
|
113
117
|
# List ansible collection deprecateds
|
114
118
|
# ViewSet for AnsibleCollectionDeprecated.
|
115
119
|
# @param [Hash] opts the optional parameters
|
120
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
116
121
|
# @option opts [Integer] :limit Number of results to return per page.
|
117
122
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
118
123
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -160,6 +165,7 @@ module PulpAnsibleClient
|
|
160
165
|
header_params = opts[:header_params] || {}
|
161
166
|
# HTTP header 'Accept' (if needed)
|
162
167
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
168
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
163
169
|
|
164
170
|
# form parameters
|
165
171
|
form_params = opts[:form_params] || {}
|
@@ -194,6 +200,7 @@ module PulpAnsibleClient
|
|
194
200
|
# ViewSet for AnsibleCollectionDeprecated.
|
195
201
|
# @param ansible_ansible_collection_deprecated_href [String]
|
196
202
|
# @param [Hash] opts the optional parameters
|
203
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
197
204
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
198
205
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
199
206
|
# @return [AnsibleAnsibleCollectionDeprecatedResponse]
|
@@ -206,6 +213,7 @@ module PulpAnsibleClient
|
|
206
213
|
# ViewSet for AnsibleCollectionDeprecated.
|
207
214
|
# @param ansible_ansible_collection_deprecated_href [String]
|
208
215
|
# @param [Hash] opts the optional parameters
|
216
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
209
217
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
210
218
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
211
219
|
# @return [Array<(AnsibleAnsibleCollectionDeprecatedResponse, Integer, Hash)>] AnsibleAnsibleCollectionDeprecatedResponse data, response status code and response headers
|
@@ -229,6 +237,7 @@ module PulpAnsibleClient
|
|
229
237
|
header_params = opts[:header_params] || {}
|
230
238
|
# HTTP header 'Accept' (if needed)
|
231
239
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
240
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
232
241
|
|
233
242
|
# form parameters
|
234
243
|
form_params = opts[:form_params] || {}
|
@@ -264,6 +273,7 @@ module PulpAnsibleClient
|
|
264
273
|
# @param ansible_ansible_collection_deprecated_href [String]
|
265
274
|
# @param set_label [SetLabel]
|
266
275
|
# @param [Hash] opts the optional parameters
|
276
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
267
277
|
# @return [SetLabelResponse]
|
268
278
|
def set_label(ansible_ansible_collection_deprecated_href, set_label, opts = {})
|
269
279
|
data, _status_code, _headers = set_label_with_http_info(ansible_ansible_collection_deprecated_href, set_label, opts)
|
@@ -275,6 +285,7 @@ module PulpAnsibleClient
|
|
275
285
|
# @param ansible_ansible_collection_deprecated_href [String]
|
276
286
|
# @param set_label [SetLabel]
|
277
287
|
# @param [Hash] opts the optional parameters
|
288
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
278
289
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
279
290
|
def set_label_with_http_info(ansible_ansible_collection_deprecated_href, set_label, opts = {})
|
280
291
|
if @api_client.config.debugging
|
@@ -303,6 +314,7 @@ module PulpAnsibleClient
|
|
303
314
|
if !content_type.nil?
|
304
315
|
header_params['Content-Type'] = content_type
|
305
316
|
end
|
317
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
306
318
|
|
307
319
|
# form parameters
|
308
320
|
form_params = opts[:form_params] || {}
|
@@ -338,6 +350,7 @@ module PulpAnsibleClient
|
|
338
350
|
# @param ansible_ansible_collection_deprecated_href [String]
|
339
351
|
# @param unset_label [UnsetLabel]
|
340
352
|
# @param [Hash] opts the optional parameters
|
353
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
341
354
|
# @return [UnsetLabelResponse]
|
342
355
|
def unset_label(ansible_ansible_collection_deprecated_href, unset_label, opts = {})
|
343
356
|
data, _status_code, _headers = unset_label_with_http_info(ansible_ansible_collection_deprecated_href, unset_label, opts)
|
@@ -349,6 +362,7 @@ module PulpAnsibleClient
|
|
349
362
|
# @param ansible_ansible_collection_deprecated_href [String]
|
350
363
|
# @param unset_label [UnsetLabel]
|
351
364
|
# @param [Hash] opts the optional parameters
|
365
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
352
366
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
353
367
|
def unset_label_with_http_info(ansible_ansible_collection_deprecated_href, unset_label, opts = {})
|
354
368
|
if @api_client.config.debugging
|
@@ -377,6 +391,7 @@ module PulpAnsibleClient
|
|
377
391
|
if !content_type.nil?
|
378
392
|
header_params['Content-Type'] = content_type
|
379
393
|
end
|
394
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
380
395
|
|
381
396
|
# form parameters
|
382
397
|
form_params = opts[:form_params] || {}
|