pulp-ansible-client 0.25.0__py3-none-any.whl → 0.25.2__py3-none-any.whl
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.
- {pulp_ansible_client-0.25.0.dist-info → pulp_ansible_client-0.25.2.dist-info}/METADATA +13 -5
- pulp_ansible_client-0.25.2.dist-info/RECORD +165 -0
- {pulp_ansible_client-0.25.0.dist-info → pulp_ansible_client-0.25.2.dist-info}/WHEEL +1 -1
- pulpcore/client/pulp_ansible/__init__.py +1 -1
- pulpcore/client/pulp_ansible/api/ansible_collections_api.py +112 -0
- pulpcore/client/pulp_ansible/api/ansible_copy_api.py +19 -0
- pulpcore/client/pulp_ansible/api/api_plugin_ansible_search_collection_versions_api.py +32 -0
- pulpcore/client/pulp_ansible/api/api_roles_api.py +16 -0
- pulpcore/client/pulp_ansible/api/collection_import_api.py +16 -0
- pulpcore/client/pulp_ansible/api/content_collection_deprecations_api.py +80 -0
- pulpcore/client/pulp_ansible/api/content_collection_marks_api.py +80 -0
- pulpcore/client/pulp_ansible/api/content_collection_signatures_api.py +80 -0
- pulpcore/client/pulp_ansible/api/content_collection_versions_api.py +125 -45
- pulpcore/client/pulp_ansible/api/content_namespaces_api.py +80 -0
- pulpcore/client/pulp_ansible/api/content_roles_api.py +80 -0
- pulpcore/client/pulp_ansible/api/distributions_ansible_api.py +192 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_api_api.py +16 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_api_v3_api.py +16 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_api_v3_artifacts_collections_api.py +16 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_api_v3_collection_versions_all_api.py +16 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_api_v3_collections_all_api.py +16 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_api_v3_collections_api.py +64 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_api_v3_collections_versions_api.py +48 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.py +16 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_api_v3_namespaces_api.py +32 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.py +16 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.py +16 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.py +16 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.py +16 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.py +16 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.py +64 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.py +48 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.py +16 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.py +80 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_artifacts_collections_v3_api.py +65 -1
- pulpcore/client/pulp_ansible/api/pulp_ansible_default_api_api.py +55 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_default_api_v3_api.py +55 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_default_api_v3_artifacts_collections_api.py +16 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_default_api_v3_collection_versions_all_api.py +55 -1
- pulpcore/client/pulp_ansible/api/pulp_ansible_default_api_v3_collections_all_api.py +16 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_default_api_v3_collections_api.py +64 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_default_api_v3_collections_versions_api.py +48 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.py +16 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_default_api_v3_namespaces_api.py +32 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api.py +55 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.py +16 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.py +16 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.py +16 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.py +16 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.py +64 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.py +48 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.py +16 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.py +80 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.py +32 -0
- pulpcore/client/pulp_ansible/api/pulp_ansible_tags_api.py +16 -0
- pulpcore/client/pulp_ansible/api/remotes_collection_api.py +192 -0
- pulpcore/client/pulp_ansible/api/remotes_git_api.py +192 -0
- pulpcore/client/pulp_ansible/api/remotes_role_api.py +192 -0
- pulpcore/client/pulp_ansible/api/repositories_ansible_api.py +320 -0
- pulpcore/client/pulp_ansible/api/repositories_ansible_versions_api.py +86 -6
- pulpcore/client/pulp_ansible/api/versions_api.py +16 -0
- pulpcore/client/pulp_ansible/api_client.py +1 -1
- pulpcore/client/pulp_ansible/configuration.py +1 -1
- pulpcore/client/pulp_ansible/models/ansible_ansible_collection_deprecated.py +8 -0
- pulpcore/client/pulp_ansible/models/ansible_ansible_collection_deprecated_response.py +8 -0
- pulpcore/client/pulp_ansible/models/ansible_ansible_distribution.py +8 -0
- pulpcore/client/pulp_ansible/models/ansible_ansible_distribution_response.py +8 -0
- pulpcore/client/pulp_ansible/models/ansible_ansible_namespace_metadata.py +8 -0
- pulpcore/client/pulp_ansible/models/ansible_ansible_namespace_metadata_response.py +8 -0
- pulpcore/client/pulp_ansible/models/ansible_ansible_repository.py +8 -0
- pulpcore/client/pulp_ansible/models/ansible_ansible_repository_response.py +8 -0
- pulpcore/client/pulp_ansible/models/ansible_collection_remote.py +8 -0
- pulpcore/client/pulp_ansible/models/ansible_collection_remote_response.py +8 -0
- pulpcore/client/pulp_ansible/models/ansible_collection_remote_response_hidden_fields_inner.py +8 -0
- pulpcore/client/pulp_ansible/models/ansible_collection_response.py +8 -0
- pulpcore/client/pulp_ansible/models/ansible_collection_version_mark.py +8 -0
- pulpcore/client/pulp_ansible/models/ansible_collection_version_mark_response.py +8 -0
- pulpcore/client/pulp_ansible/models/ansible_collection_version_response.py +16 -24
- pulpcore/client/pulp_ansible/models/ansible_collection_version_signature_response.py +8 -0
- pulpcore/client/pulp_ansible/models/ansible_git_remote.py +71 -63
- pulpcore/client/pulp_ansible/models/ansible_git_remote_response.py +56 -48
- pulpcore/client/pulp_ansible/models/ansible_repository_mark.py +8 -0
- pulpcore/client/pulp_ansible/models/ansible_repository_rebuild.py +8 -0
- pulpcore/client/pulp_ansible/models/ansible_repository_signature.py +8 -0
- pulpcore/client/pulp_ansible/models/ansible_repository_sync_url.py +8 -0
- pulpcore/client/pulp_ansible/models/ansible_role.py +11 -3
- pulpcore/client/pulp_ansible/models/ansible_role_remote.py +8 -0
- pulpcore/client/pulp_ansible/models/ansible_role_remote_response.py +8 -0
- pulpcore/client/pulp_ansible/models/ansible_role_response.py +16 -8
- pulpcore/client/pulp_ansible/models/ansible_tag_response.py +8 -0
- pulpcore/client/pulp_ansible/models/artifact_ref_response.py +8 -0
- pulpcore/client/pulp_ansible/models/async_operation_response.py +8 -0
- pulpcore/client/pulp_ansible/models/client_configuration_response.py +8 -0
- pulpcore/client/pulp_ansible/models/collection_import_detail_response.py +8 -0
- pulpcore/client/pulp_ansible/models/collection_metadata_response.py +8 -0
- pulpcore/client/pulp_ansible/models/collection_namespace_response.py +8 -0
- pulpcore/client/pulp_ansible/models/collection_ref_response.py +8 -0
- pulpcore/client/pulp_ansible/models/collection_response.py +8 -0
- pulpcore/client/pulp_ansible/models/collection_summary_response.py +8 -0
- pulpcore/client/pulp_ansible/models/collection_version_copy_move.py +8 -0
- pulpcore/client/pulp_ansible/models/collection_version_docs_response.py +8 -0
- pulpcore/client/pulp_ansible/models/collection_version_list_response.py +8 -0
- pulpcore/client/pulp_ansible/models/collection_version_response.py +8 -0
- pulpcore/client/pulp_ansible/models/collection_version_search_list.py +8 -0
- pulpcore/client/pulp_ansible/models/collection_version_search_list_response.py +8 -0
- pulpcore/client/pulp_ansible/models/collection_version_signature_response.py +8 -0
- pulpcore/client/pulp_ansible/models/content_summary_response.py +8 -0
- pulpcore/client/pulp_ansible/models/copy.py +8 -0
- pulpcore/client/pulp_ansible/models/galaxy_role_response.py +8 -0
- pulpcore/client/pulp_ansible/models/galaxy_role_version_response.py +8 -0
- pulpcore/client/pulp_ansible/models/my_permissions_response.py +8 -0
- pulpcore/client/pulp_ansible/models/namespace_link.py +8 -0
- pulpcore/client/pulp_ansible/models/namespace_link_response.py +8 -0
- pulpcore/client/pulp_ansible/models/nested_role.py +8 -0
- pulpcore/client/pulp_ansible/models/nested_role_response.py +8 -0
- pulpcore/client/pulp_ansible/models/object_roles_response.py +8 -0
- pulpcore/client/pulp_ansible/models/paginated_collection_response_list.py +8 -0
- pulpcore/client/pulp_ansible/models/paginated_collection_response_list_links.py +8 -0
- pulpcore/client/pulp_ansible/models/paginated_collection_response_list_meta.py +8 -0
- pulpcore/client/pulp_ansible/models/paginated_collection_version_list_response_list.py +8 -0
- pulpcore/client/pulp_ansible/models/paginated_collection_version_search_list_response_list.py +8 -0
- pulpcore/client/pulp_ansible/models/paginated_galaxy_role_response_list.py +8 -0
- pulpcore/client/pulp_ansible/models/paginated_galaxy_role_version_response_list.py +8 -0
- pulpcore/client/pulp_ansible/models/paginated_repository_version_response_list.py +8 -0
- pulpcore/client/pulp_ansible/models/paginated_tag_response_list.py +8 -0
- pulpcore/client/pulp_ansible/models/paginatedansible_ansible_collection_deprecated_response_list.py +8 -0
- pulpcore/client/pulp_ansible/models/paginatedansible_ansible_distribution_response_list.py +8 -0
- pulpcore/client/pulp_ansible/models/paginatedansible_ansible_namespace_metadata_response_list.py +8 -0
- pulpcore/client/pulp_ansible/models/paginatedansible_ansible_repository_response_list.py +8 -0
- pulpcore/client/pulp_ansible/models/paginatedansible_collection_remote_response_list.py +8 -0
- pulpcore/client/pulp_ansible/models/paginatedansible_collection_response_list.py +8 -0
- pulpcore/client/pulp_ansible/models/paginatedansible_collection_version_mark_response_list.py +8 -0
- pulpcore/client/pulp_ansible/models/paginatedansible_collection_version_response_list.py +8 -0
- pulpcore/client/pulp_ansible/models/paginatedansible_collection_version_signature_response_list.py +8 -0
- pulpcore/client/pulp_ansible/models/paginatedansible_git_remote_response_list.py +8 -0
- pulpcore/client/pulp_ansible/models/paginatedansible_role_remote_response_list.py +8 -0
- pulpcore/client/pulp_ansible/models/paginatedansible_role_response_list.py +8 -0
- pulpcore/client/pulp_ansible/models/patched_collection.py +8 -0
- pulpcore/client/pulp_ansible/models/patchedansible_ansible_distribution.py +8 -0
- pulpcore/client/pulp_ansible/models/patchedansible_ansible_repository.py +8 -0
- pulpcore/client/pulp_ansible/models/patchedansible_collection_remote.py +8 -0
- pulpcore/client/pulp_ansible/models/patchedansible_git_remote.py +71 -63
- pulpcore/client/pulp_ansible/models/patchedansible_role_remote.py +8 -0
- pulpcore/client/pulp_ansible/models/repair.py +8 -0
- pulpcore/client/pulp_ansible/models/repo_metadata_response.py +8 -0
- pulpcore/client/pulp_ansible/models/repository.py +8 -0
- pulpcore/client/pulp_ansible/models/repository_add_remove_content.py +8 -0
- pulpcore/client/pulp_ansible/models/repository_response.py +8 -0
- pulpcore/client/pulp_ansible/models/repository_version_response.py +8 -0
- pulpcore/client/pulp_ansible/models/set_label.py +8 -0
- pulpcore/client/pulp_ansible/models/set_label_response.py +8 -0
- pulpcore/client/pulp_ansible/models/tag_response.py +8 -0
- pulpcore/client/pulp_ansible/models/unpaginated_collection_version_response.py +8 -0
- pulpcore/client/pulp_ansible/models/unset_label.py +8 -0
- pulpcore/client/pulp_ansible/models/unset_label_response.py +8 -0
- pulp_ansible_client-0.25.0.dist-info/RECORD +0 -165
- {pulp_ansible_client-0.25.0.dist-info → pulp_ansible_client-0.25.2.dist-info}/top_level.txt +0 -0
|
@@ -51,6 +51,7 @@ class AnsibleCollectionsApi:
|
|
|
51
51
|
self,
|
|
52
52
|
ansible_collection_href: StrictStr,
|
|
53
53
|
nested_role: NestedRole,
|
|
54
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
54
55
|
_request_timeout: Union[
|
|
55
56
|
None,
|
|
56
57
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -72,6 +73,8 @@ class AnsibleCollectionsApi:
|
|
|
72
73
|
:type ansible_collection_href: str
|
|
73
74
|
:param nested_role: (required)
|
|
74
75
|
:type nested_role: NestedRole
|
|
76
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
77
|
+
:type x_task_diagnostics: List[str]
|
|
75
78
|
:param _request_timeout: timeout setting for this request. If one
|
|
76
79
|
number provided, it will be total request
|
|
77
80
|
timeout. It can also be a pair (tuple) of
|
|
@@ -97,6 +100,7 @@ class AnsibleCollectionsApi:
|
|
|
97
100
|
_param = self._add_role_serialize(
|
|
98
101
|
ansible_collection_href=ansible_collection_href,
|
|
99
102
|
nested_role=nested_role,
|
|
103
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
100
104
|
_request_auth=_request_auth,
|
|
101
105
|
_content_type=_content_type,
|
|
102
106
|
_headers=_headers,
|
|
@@ -122,6 +126,7 @@ class AnsibleCollectionsApi:
|
|
|
122
126
|
self,
|
|
123
127
|
ansible_collection_href: StrictStr,
|
|
124
128
|
nested_role: NestedRole,
|
|
129
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
125
130
|
_request_timeout: Union[
|
|
126
131
|
None,
|
|
127
132
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -143,6 +148,8 @@ class AnsibleCollectionsApi:
|
|
|
143
148
|
:type ansible_collection_href: str
|
|
144
149
|
:param nested_role: (required)
|
|
145
150
|
:type nested_role: NestedRole
|
|
151
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
152
|
+
:type x_task_diagnostics: List[str]
|
|
146
153
|
:param _request_timeout: timeout setting for this request. If one
|
|
147
154
|
number provided, it will be total request
|
|
148
155
|
timeout. It can also be a pair (tuple) of
|
|
@@ -168,6 +175,7 @@ class AnsibleCollectionsApi:
|
|
|
168
175
|
_param = self._add_role_serialize(
|
|
169
176
|
ansible_collection_href=ansible_collection_href,
|
|
170
177
|
nested_role=nested_role,
|
|
178
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
171
179
|
_request_auth=_request_auth,
|
|
172
180
|
_content_type=_content_type,
|
|
173
181
|
_headers=_headers,
|
|
@@ -193,6 +201,7 @@ class AnsibleCollectionsApi:
|
|
|
193
201
|
self,
|
|
194
202
|
ansible_collection_href: StrictStr,
|
|
195
203
|
nested_role: NestedRole,
|
|
204
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
196
205
|
_request_timeout: Union[
|
|
197
206
|
None,
|
|
198
207
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -214,6 +223,8 @@ class AnsibleCollectionsApi:
|
|
|
214
223
|
:type ansible_collection_href: str
|
|
215
224
|
:param nested_role: (required)
|
|
216
225
|
:type nested_role: NestedRole
|
|
226
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
227
|
+
:type x_task_diagnostics: List[str]
|
|
217
228
|
:param _request_timeout: timeout setting for this request. If one
|
|
218
229
|
number provided, it will be total request
|
|
219
230
|
timeout. It can also be a pair (tuple) of
|
|
@@ -239,6 +250,7 @@ class AnsibleCollectionsApi:
|
|
|
239
250
|
_param = self._add_role_serialize(
|
|
240
251
|
ansible_collection_href=ansible_collection_href,
|
|
241
252
|
nested_role=nested_role,
|
|
253
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
242
254
|
_request_auth=_request_auth,
|
|
243
255
|
_content_type=_content_type,
|
|
244
256
|
_headers=_headers,
|
|
@@ -259,6 +271,7 @@ class AnsibleCollectionsApi:
|
|
|
259
271
|
self,
|
|
260
272
|
ansible_collection_href,
|
|
261
273
|
nested_role,
|
|
274
|
+
x_task_diagnostics,
|
|
262
275
|
_request_auth,
|
|
263
276
|
_content_type,
|
|
264
277
|
_headers,
|
|
@@ -268,6 +281,7 @@ class AnsibleCollectionsApi:
|
|
|
268
281
|
_host = None
|
|
269
282
|
|
|
270
283
|
_collection_formats: Dict[str, str] = {
|
|
284
|
+
'X-Task-Diagnostics': 'csv',
|
|
271
285
|
}
|
|
272
286
|
|
|
273
287
|
_path_params: Dict[str, str] = {}
|
|
@@ -284,6 +298,8 @@ class AnsibleCollectionsApi:
|
|
|
284
298
|
_path_params['ansible_collection_href'] = ansible_collection_href
|
|
285
299
|
# process the query parameters
|
|
286
300
|
# process the header parameters
|
|
301
|
+
if x_task_diagnostics is not None:
|
|
302
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
287
303
|
# process the form parameters
|
|
288
304
|
# process the body parameter
|
|
289
305
|
if nested_role is not None:
|
|
@@ -341,6 +357,7 @@ class AnsibleCollectionsApi:
|
|
|
341
357
|
@validate_call
|
|
342
358
|
def list(
|
|
343
359
|
self,
|
|
360
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
344
361
|
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
345
362
|
name: Optional[StrictStr] = None,
|
|
346
363
|
namespace: Optional[StrictStr] = None,
|
|
@@ -369,6 +386,8 @@ class AnsibleCollectionsApi:
|
|
|
369
386
|
|
|
370
387
|
Viewset for Ansible Collections.
|
|
371
388
|
|
|
389
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
390
|
+
:type x_task_diagnostics: List[str]
|
|
372
391
|
:param limit: Number of results to return per page.
|
|
373
392
|
:type limit: int
|
|
374
393
|
:param name:
|
|
@@ -414,6 +433,7 @@ class AnsibleCollectionsApi:
|
|
|
414
433
|
""" # noqa: E501
|
|
415
434
|
|
|
416
435
|
_param = self._list_serialize(
|
|
436
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
417
437
|
limit=limit,
|
|
418
438
|
name=name,
|
|
419
439
|
namespace=namespace,
|
|
@@ -448,6 +468,7 @@ class AnsibleCollectionsApi:
|
|
|
448
468
|
@validate_call
|
|
449
469
|
def list_with_http_info(
|
|
450
470
|
self,
|
|
471
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
451
472
|
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
452
473
|
name: Optional[StrictStr] = None,
|
|
453
474
|
namespace: Optional[StrictStr] = None,
|
|
@@ -476,6 +497,8 @@ class AnsibleCollectionsApi:
|
|
|
476
497
|
|
|
477
498
|
Viewset for Ansible Collections.
|
|
478
499
|
|
|
500
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
501
|
+
:type x_task_diagnostics: List[str]
|
|
479
502
|
:param limit: Number of results to return per page.
|
|
480
503
|
:type limit: int
|
|
481
504
|
:param name:
|
|
@@ -521,6 +544,7 @@ class AnsibleCollectionsApi:
|
|
|
521
544
|
""" # noqa: E501
|
|
522
545
|
|
|
523
546
|
_param = self._list_serialize(
|
|
547
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
524
548
|
limit=limit,
|
|
525
549
|
name=name,
|
|
526
550
|
namespace=namespace,
|
|
@@ -555,6 +579,7 @@ class AnsibleCollectionsApi:
|
|
|
555
579
|
@validate_call
|
|
556
580
|
def list_without_preload_content(
|
|
557
581
|
self,
|
|
582
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
558
583
|
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
559
584
|
name: Optional[StrictStr] = None,
|
|
560
585
|
namespace: Optional[StrictStr] = None,
|
|
@@ -583,6 +608,8 @@ class AnsibleCollectionsApi:
|
|
|
583
608
|
|
|
584
609
|
Viewset for Ansible Collections.
|
|
585
610
|
|
|
611
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
612
|
+
:type x_task_diagnostics: List[str]
|
|
586
613
|
:param limit: Number of results to return per page.
|
|
587
614
|
:type limit: int
|
|
588
615
|
:param name:
|
|
@@ -628,6 +655,7 @@ class AnsibleCollectionsApi:
|
|
|
628
655
|
""" # noqa: E501
|
|
629
656
|
|
|
630
657
|
_param = self._list_serialize(
|
|
658
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
631
659
|
limit=limit,
|
|
632
660
|
name=name,
|
|
633
661
|
namespace=namespace,
|
|
@@ -657,6 +685,7 @@ class AnsibleCollectionsApi:
|
|
|
657
685
|
|
|
658
686
|
def _list_serialize(
|
|
659
687
|
self,
|
|
688
|
+
x_task_diagnostics,
|
|
660
689
|
limit,
|
|
661
690
|
name,
|
|
662
691
|
namespace,
|
|
@@ -677,6 +706,7 @@ class AnsibleCollectionsApi:
|
|
|
677
706
|
_host = None
|
|
678
707
|
|
|
679
708
|
_collection_formats: Dict[str, str] = {
|
|
709
|
+
'X-Task-Diagnostics': 'csv',
|
|
680
710
|
'ordering': 'csv',
|
|
681
711
|
'prn__in': 'csv',
|
|
682
712
|
'pulp_href__in': 'csv',
|
|
@@ -741,6 +771,8 @@ class AnsibleCollectionsApi:
|
|
|
741
771
|
_query_params.append(('exclude_fields', exclude_fields))
|
|
742
772
|
|
|
743
773
|
# process the header parameters
|
|
774
|
+
if x_task_diagnostics is not None:
|
|
775
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
744
776
|
# process the form parameters
|
|
745
777
|
# process the body parameter
|
|
746
778
|
|
|
@@ -782,6 +814,7 @@ class AnsibleCollectionsApi:
|
|
|
782
814
|
def list_roles(
|
|
783
815
|
self,
|
|
784
816
|
ansible_collection_href: StrictStr,
|
|
817
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
785
818
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
786
819
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
787
820
|
_request_timeout: Union[
|
|
@@ -803,6 +836,8 @@ class AnsibleCollectionsApi:
|
|
|
803
836
|
|
|
804
837
|
:param ansible_collection_href: (required)
|
|
805
838
|
:type ansible_collection_href: str
|
|
839
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
840
|
+
:type x_task_diagnostics: List[str]
|
|
806
841
|
:param fields: A list of fields to include in the response.
|
|
807
842
|
:type fields: List[str]
|
|
808
843
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -831,6 +866,7 @@ class AnsibleCollectionsApi:
|
|
|
831
866
|
|
|
832
867
|
_param = self._list_roles_serialize(
|
|
833
868
|
ansible_collection_href=ansible_collection_href,
|
|
869
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
834
870
|
fields=fields,
|
|
835
871
|
exclude_fields=exclude_fields,
|
|
836
872
|
_request_auth=_request_auth,
|
|
@@ -857,6 +893,7 @@ class AnsibleCollectionsApi:
|
|
|
857
893
|
def list_roles_with_http_info(
|
|
858
894
|
self,
|
|
859
895
|
ansible_collection_href: StrictStr,
|
|
896
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
860
897
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
861
898
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
862
899
|
_request_timeout: Union[
|
|
@@ -878,6 +915,8 @@ class AnsibleCollectionsApi:
|
|
|
878
915
|
|
|
879
916
|
:param ansible_collection_href: (required)
|
|
880
917
|
:type ansible_collection_href: str
|
|
918
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
919
|
+
:type x_task_diagnostics: List[str]
|
|
881
920
|
:param fields: A list of fields to include in the response.
|
|
882
921
|
:type fields: List[str]
|
|
883
922
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -906,6 +945,7 @@ class AnsibleCollectionsApi:
|
|
|
906
945
|
|
|
907
946
|
_param = self._list_roles_serialize(
|
|
908
947
|
ansible_collection_href=ansible_collection_href,
|
|
948
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
909
949
|
fields=fields,
|
|
910
950
|
exclude_fields=exclude_fields,
|
|
911
951
|
_request_auth=_request_auth,
|
|
@@ -932,6 +972,7 @@ class AnsibleCollectionsApi:
|
|
|
932
972
|
def list_roles_without_preload_content(
|
|
933
973
|
self,
|
|
934
974
|
ansible_collection_href: StrictStr,
|
|
975
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
935
976
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
936
977
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
937
978
|
_request_timeout: Union[
|
|
@@ -953,6 +994,8 @@ class AnsibleCollectionsApi:
|
|
|
953
994
|
|
|
954
995
|
:param ansible_collection_href: (required)
|
|
955
996
|
:type ansible_collection_href: str
|
|
997
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
998
|
+
:type x_task_diagnostics: List[str]
|
|
956
999
|
:param fields: A list of fields to include in the response.
|
|
957
1000
|
:type fields: List[str]
|
|
958
1001
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -981,6 +1024,7 @@ class AnsibleCollectionsApi:
|
|
|
981
1024
|
|
|
982
1025
|
_param = self._list_roles_serialize(
|
|
983
1026
|
ansible_collection_href=ansible_collection_href,
|
|
1027
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
984
1028
|
fields=fields,
|
|
985
1029
|
exclude_fields=exclude_fields,
|
|
986
1030
|
_request_auth=_request_auth,
|
|
@@ -1002,6 +1046,7 @@ class AnsibleCollectionsApi:
|
|
|
1002
1046
|
def _list_roles_serialize(
|
|
1003
1047
|
self,
|
|
1004
1048
|
ansible_collection_href,
|
|
1049
|
+
x_task_diagnostics,
|
|
1005
1050
|
fields,
|
|
1006
1051
|
exclude_fields,
|
|
1007
1052
|
_request_auth,
|
|
@@ -1013,6 +1058,7 @@ class AnsibleCollectionsApi:
|
|
|
1013
1058
|
_host = None
|
|
1014
1059
|
|
|
1015
1060
|
_collection_formats: Dict[str, str] = {
|
|
1061
|
+
'X-Task-Diagnostics': 'csv',
|
|
1016
1062
|
'fields': 'multi',
|
|
1017
1063
|
'exclude_fields': 'multi',
|
|
1018
1064
|
}
|
|
@@ -1039,6 +1085,8 @@ class AnsibleCollectionsApi:
|
|
|
1039
1085
|
_query_params.append(('exclude_fields', exclude_fields))
|
|
1040
1086
|
|
|
1041
1087
|
# process the header parameters
|
|
1088
|
+
if x_task_diagnostics is not None:
|
|
1089
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
1042
1090
|
# process the form parameters
|
|
1043
1091
|
# process the body parameter
|
|
1044
1092
|
|
|
@@ -1080,6 +1128,7 @@ class AnsibleCollectionsApi:
|
|
|
1080
1128
|
def my_permissions(
|
|
1081
1129
|
self,
|
|
1082
1130
|
ansible_collection_href: StrictStr,
|
|
1131
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1083
1132
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
1084
1133
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
1085
1134
|
_request_timeout: Union[
|
|
@@ -1101,6 +1150,8 @@ class AnsibleCollectionsApi:
|
|
|
1101
1150
|
|
|
1102
1151
|
:param ansible_collection_href: (required)
|
|
1103
1152
|
:type ansible_collection_href: str
|
|
1153
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1154
|
+
:type x_task_diagnostics: List[str]
|
|
1104
1155
|
:param fields: A list of fields to include in the response.
|
|
1105
1156
|
:type fields: List[str]
|
|
1106
1157
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -1129,6 +1180,7 @@ class AnsibleCollectionsApi:
|
|
|
1129
1180
|
|
|
1130
1181
|
_param = self._my_permissions_serialize(
|
|
1131
1182
|
ansible_collection_href=ansible_collection_href,
|
|
1183
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
1132
1184
|
fields=fields,
|
|
1133
1185
|
exclude_fields=exclude_fields,
|
|
1134
1186
|
_request_auth=_request_auth,
|
|
@@ -1155,6 +1207,7 @@ class AnsibleCollectionsApi:
|
|
|
1155
1207
|
def my_permissions_with_http_info(
|
|
1156
1208
|
self,
|
|
1157
1209
|
ansible_collection_href: StrictStr,
|
|
1210
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1158
1211
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
1159
1212
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
1160
1213
|
_request_timeout: Union[
|
|
@@ -1176,6 +1229,8 @@ class AnsibleCollectionsApi:
|
|
|
1176
1229
|
|
|
1177
1230
|
:param ansible_collection_href: (required)
|
|
1178
1231
|
:type ansible_collection_href: str
|
|
1232
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1233
|
+
:type x_task_diagnostics: List[str]
|
|
1179
1234
|
:param fields: A list of fields to include in the response.
|
|
1180
1235
|
:type fields: List[str]
|
|
1181
1236
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -1204,6 +1259,7 @@ class AnsibleCollectionsApi:
|
|
|
1204
1259
|
|
|
1205
1260
|
_param = self._my_permissions_serialize(
|
|
1206
1261
|
ansible_collection_href=ansible_collection_href,
|
|
1262
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
1207
1263
|
fields=fields,
|
|
1208
1264
|
exclude_fields=exclude_fields,
|
|
1209
1265
|
_request_auth=_request_auth,
|
|
@@ -1230,6 +1286,7 @@ class AnsibleCollectionsApi:
|
|
|
1230
1286
|
def my_permissions_without_preload_content(
|
|
1231
1287
|
self,
|
|
1232
1288
|
ansible_collection_href: StrictStr,
|
|
1289
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1233
1290
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
1234
1291
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
1235
1292
|
_request_timeout: Union[
|
|
@@ -1251,6 +1308,8 @@ class AnsibleCollectionsApi:
|
|
|
1251
1308
|
|
|
1252
1309
|
:param ansible_collection_href: (required)
|
|
1253
1310
|
:type ansible_collection_href: str
|
|
1311
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1312
|
+
:type x_task_diagnostics: List[str]
|
|
1254
1313
|
:param fields: A list of fields to include in the response.
|
|
1255
1314
|
:type fields: List[str]
|
|
1256
1315
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -1279,6 +1338,7 @@ class AnsibleCollectionsApi:
|
|
|
1279
1338
|
|
|
1280
1339
|
_param = self._my_permissions_serialize(
|
|
1281
1340
|
ansible_collection_href=ansible_collection_href,
|
|
1341
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
1282
1342
|
fields=fields,
|
|
1283
1343
|
exclude_fields=exclude_fields,
|
|
1284
1344
|
_request_auth=_request_auth,
|
|
@@ -1300,6 +1360,7 @@ class AnsibleCollectionsApi:
|
|
|
1300
1360
|
def _my_permissions_serialize(
|
|
1301
1361
|
self,
|
|
1302
1362
|
ansible_collection_href,
|
|
1363
|
+
x_task_diagnostics,
|
|
1303
1364
|
fields,
|
|
1304
1365
|
exclude_fields,
|
|
1305
1366
|
_request_auth,
|
|
@@ -1311,6 +1372,7 @@ class AnsibleCollectionsApi:
|
|
|
1311
1372
|
_host = None
|
|
1312
1373
|
|
|
1313
1374
|
_collection_formats: Dict[str, str] = {
|
|
1375
|
+
'X-Task-Diagnostics': 'csv',
|
|
1314
1376
|
'fields': 'multi',
|
|
1315
1377
|
'exclude_fields': 'multi',
|
|
1316
1378
|
}
|
|
@@ -1337,6 +1399,8 @@ class AnsibleCollectionsApi:
|
|
|
1337
1399
|
_query_params.append(('exclude_fields', exclude_fields))
|
|
1338
1400
|
|
|
1339
1401
|
# process the header parameters
|
|
1402
|
+
if x_task_diagnostics is not None:
|
|
1403
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
1340
1404
|
# process the form parameters
|
|
1341
1405
|
# process the body parameter
|
|
1342
1406
|
|
|
@@ -1378,6 +1442,7 @@ class AnsibleCollectionsApi:
|
|
|
1378
1442
|
def read(
|
|
1379
1443
|
self,
|
|
1380
1444
|
ansible_collection_href: StrictStr,
|
|
1445
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1381
1446
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
1382
1447
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
1383
1448
|
_request_timeout: Union[
|
|
@@ -1399,6 +1464,8 @@ class AnsibleCollectionsApi:
|
|
|
1399
1464
|
|
|
1400
1465
|
:param ansible_collection_href: (required)
|
|
1401
1466
|
:type ansible_collection_href: str
|
|
1467
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1468
|
+
:type x_task_diagnostics: List[str]
|
|
1402
1469
|
:param fields: A list of fields to include in the response.
|
|
1403
1470
|
:type fields: List[str]
|
|
1404
1471
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -1427,6 +1494,7 @@ class AnsibleCollectionsApi:
|
|
|
1427
1494
|
|
|
1428
1495
|
_param = self._read_serialize(
|
|
1429
1496
|
ansible_collection_href=ansible_collection_href,
|
|
1497
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
1430
1498
|
fields=fields,
|
|
1431
1499
|
exclude_fields=exclude_fields,
|
|
1432
1500
|
_request_auth=_request_auth,
|
|
@@ -1453,6 +1521,7 @@ class AnsibleCollectionsApi:
|
|
|
1453
1521
|
def read_with_http_info(
|
|
1454
1522
|
self,
|
|
1455
1523
|
ansible_collection_href: StrictStr,
|
|
1524
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1456
1525
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
1457
1526
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
1458
1527
|
_request_timeout: Union[
|
|
@@ -1474,6 +1543,8 @@ class AnsibleCollectionsApi:
|
|
|
1474
1543
|
|
|
1475
1544
|
:param ansible_collection_href: (required)
|
|
1476
1545
|
:type ansible_collection_href: str
|
|
1546
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1547
|
+
:type x_task_diagnostics: List[str]
|
|
1477
1548
|
:param fields: A list of fields to include in the response.
|
|
1478
1549
|
:type fields: List[str]
|
|
1479
1550
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -1502,6 +1573,7 @@ class AnsibleCollectionsApi:
|
|
|
1502
1573
|
|
|
1503
1574
|
_param = self._read_serialize(
|
|
1504
1575
|
ansible_collection_href=ansible_collection_href,
|
|
1576
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
1505
1577
|
fields=fields,
|
|
1506
1578
|
exclude_fields=exclude_fields,
|
|
1507
1579
|
_request_auth=_request_auth,
|
|
@@ -1528,6 +1600,7 @@ class AnsibleCollectionsApi:
|
|
|
1528
1600
|
def read_without_preload_content(
|
|
1529
1601
|
self,
|
|
1530
1602
|
ansible_collection_href: StrictStr,
|
|
1603
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1531
1604
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
1532
1605
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
1533
1606
|
_request_timeout: Union[
|
|
@@ -1549,6 +1622,8 @@ class AnsibleCollectionsApi:
|
|
|
1549
1622
|
|
|
1550
1623
|
:param ansible_collection_href: (required)
|
|
1551
1624
|
:type ansible_collection_href: str
|
|
1625
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1626
|
+
:type x_task_diagnostics: List[str]
|
|
1552
1627
|
:param fields: A list of fields to include in the response.
|
|
1553
1628
|
:type fields: List[str]
|
|
1554
1629
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -1577,6 +1652,7 @@ class AnsibleCollectionsApi:
|
|
|
1577
1652
|
|
|
1578
1653
|
_param = self._read_serialize(
|
|
1579
1654
|
ansible_collection_href=ansible_collection_href,
|
|
1655
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
1580
1656
|
fields=fields,
|
|
1581
1657
|
exclude_fields=exclude_fields,
|
|
1582
1658
|
_request_auth=_request_auth,
|
|
@@ -1598,6 +1674,7 @@ class AnsibleCollectionsApi:
|
|
|
1598
1674
|
def _read_serialize(
|
|
1599
1675
|
self,
|
|
1600
1676
|
ansible_collection_href,
|
|
1677
|
+
x_task_diagnostics,
|
|
1601
1678
|
fields,
|
|
1602
1679
|
exclude_fields,
|
|
1603
1680
|
_request_auth,
|
|
@@ -1609,6 +1686,7 @@ class AnsibleCollectionsApi:
|
|
|
1609
1686
|
_host = None
|
|
1610
1687
|
|
|
1611
1688
|
_collection_formats: Dict[str, str] = {
|
|
1689
|
+
'X-Task-Diagnostics': 'csv',
|
|
1612
1690
|
'fields': 'multi',
|
|
1613
1691
|
'exclude_fields': 'multi',
|
|
1614
1692
|
}
|
|
@@ -1635,6 +1713,8 @@ class AnsibleCollectionsApi:
|
|
|
1635
1713
|
_query_params.append(('exclude_fields', exclude_fields))
|
|
1636
1714
|
|
|
1637
1715
|
# process the header parameters
|
|
1716
|
+
if x_task_diagnostics is not None:
|
|
1717
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
1638
1718
|
# process the form parameters
|
|
1639
1719
|
# process the body parameter
|
|
1640
1720
|
|
|
@@ -1677,6 +1757,7 @@ class AnsibleCollectionsApi:
|
|
|
1677
1757
|
self,
|
|
1678
1758
|
ansible_collection_href: StrictStr,
|
|
1679
1759
|
nested_role: NestedRole,
|
|
1760
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1680
1761
|
_request_timeout: Union[
|
|
1681
1762
|
None,
|
|
1682
1763
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1698,6 +1779,8 @@ class AnsibleCollectionsApi:
|
|
|
1698
1779
|
:type ansible_collection_href: str
|
|
1699
1780
|
:param nested_role: (required)
|
|
1700
1781
|
:type nested_role: NestedRole
|
|
1782
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1783
|
+
:type x_task_diagnostics: List[str]
|
|
1701
1784
|
:param _request_timeout: timeout setting for this request. If one
|
|
1702
1785
|
number provided, it will be total request
|
|
1703
1786
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1723,6 +1806,7 @@ class AnsibleCollectionsApi:
|
|
|
1723
1806
|
_param = self._remove_role_serialize(
|
|
1724
1807
|
ansible_collection_href=ansible_collection_href,
|
|
1725
1808
|
nested_role=nested_role,
|
|
1809
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
1726
1810
|
_request_auth=_request_auth,
|
|
1727
1811
|
_content_type=_content_type,
|
|
1728
1812
|
_headers=_headers,
|
|
@@ -1748,6 +1832,7 @@ class AnsibleCollectionsApi:
|
|
|
1748
1832
|
self,
|
|
1749
1833
|
ansible_collection_href: StrictStr,
|
|
1750
1834
|
nested_role: NestedRole,
|
|
1835
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1751
1836
|
_request_timeout: Union[
|
|
1752
1837
|
None,
|
|
1753
1838
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1769,6 +1854,8 @@ class AnsibleCollectionsApi:
|
|
|
1769
1854
|
:type ansible_collection_href: str
|
|
1770
1855
|
:param nested_role: (required)
|
|
1771
1856
|
:type nested_role: NestedRole
|
|
1857
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1858
|
+
:type x_task_diagnostics: List[str]
|
|
1772
1859
|
:param _request_timeout: timeout setting for this request. If one
|
|
1773
1860
|
number provided, it will be total request
|
|
1774
1861
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1794,6 +1881,7 @@ class AnsibleCollectionsApi:
|
|
|
1794
1881
|
_param = self._remove_role_serialize(
|
|
1795
1882
|
ansible_collection_href=ansible_collection_href,
|
|
1796
1883
|
nested_role=nested_role,
|
|
1884
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
1797
1885
|
_request_auth=_request_auth,
|
|
1798
1886
|
_content_type=_content_type,
|
|
1799
1887
|
_headers=_headers,
|
|
@@ -1819,6 +1907,7 @@ class AnsibleCollectionsApi:
|
|
|
1819
1907
|
self,
|
|
1820
1908
|
ansible_collection_href: StrictStr,
|
|
1821
1909
|
nested_role: NestedRole,
|
|
1910
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1822
1911
|
_request_timeout: Union[
|
|
1823
1912
|
None,
|
|
1824
1913
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1840,6 +1929,8 @@ class AnsibleCollectionsApi:
|
|
|
1840
1929
|
:type ansible_collection_href: str
|
|
1841
1930
|
:param nested_role: (required)
|
|
1842
1931
|
:type nested_role: NestedRole
|
|
1932
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1933
|
+
:type x_task_diagnostics: List[str]
|
|
1843
1934
|
:param _request_timeout: timeout setting for this request. If one
|
|
1844
1935
|
number provided, it will be total request
|
|
1845
1936
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1865,6 +1956,7 @@ class AnsibleCollectionsApi:
|
|
|
1865
1956
|
_param = self._remove_role_serialize(
|
|
1866
1957
|
ansible_collection_href=ansible_collection_href,
|
|
1867
1958
|
nested_role=nested_role,
|
|
1959
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
1868
1960
|
_request_auth=_request_auth,
|
|
1869
1961
|
_content_type=_content_type,
|
|
1870
1962
|
_headers=_headers,
|
|
@@ -1885,6 +1977,7 @@ class AnsibleCollectionsApi:
|
|
|
1885
1977
|
self,
|
|
1886
1978
|
ansible_collection_href,
|
|
1887
1979
|
nested_role,
|
|
1980
|
+
x_task_diagnostics,
|
|
1888
1981
|
_request_auth,
|
|
1889
1982
|
_content_type,
|
|
1890
1983
|
_headers,
|
|
@@ -1894,6 +1987,7 @@ class AnsibleCollectionsApi:
|
|
|
1894
1987
|
_host = None
|
|
1895
1988
|
|
|
1896
1989
|
_collection_formats: Dict[str, str] = {
|
|
1990
|
+
'X-Task-Diagnostics': 'csv',
|
|
1897
1991
|
}
|
|
1898
1992
|
|
|
1899
1993
|
_path_params: Dict[str, str] = {}
|
|
@@ -1910,6 +2004,8 @@ class AnsibleCollectionsApi:
|
|
|
1910
2004
|
_path_params['ansible_collection_href'] = ansible_collection_href
|
|
1911
2005
|
# process the query parameters
|
|
1912
2006
|
# process the header parameters
|
|
2007
|
+
if x_task_diagnostics is not None:
|
|
2008
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
1913
2009
|
# process the form parameters
|
|
1914
2010
|
# process the body parameter
|
|
1915
2011
|
if nested_role is not None:
|
|
@@ -1968,6 +2064,7 @@ class AnsibleCollectionsApi:
|
|
|
1968
2064
|
def upload_collection(
|
|
1969
2065
|
self,
|
|
1970
2066
|
file: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="The Collection tarball.")],
|
|
2067
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1971
2068
|
sha256: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="An optional sha256 checksum of the uploaded file.")] = None,
|
|
1972
2069
|
expected_namespace: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The expected 'namespace' of the Collection to be verified against the metadata during import.")] = None,
|
|
1973
2070
|
expected_name: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The expected 'name' of the Collection to be verified against the metadata during import.")] = None,
|
|
@@ -1991,6 +2088,8 @@ class AnsibleCollectionsApi:
|
|
|
1991
2088
|
|
|
1992
2089
|
:param file: The Collection tarball. (required)
|
|
1993
2090
|
:type file: bytearray
|
|
2091
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
2092
|
+
:type x_task_diagnostics: List[str]
|
|
1994
2093
|
:param sha256: An optional sha256 checksum of the uploaded file.
|
|
1995
2094
|
:type sha256: str
|
|
1996
2095
|
:param expected_namespace: The expected 'namespace' of the Collection to be verified against the metadata during import.
|
|
@@ -2024,6 +2123,7 @@ class AnsibleCollectionsApi:
|
|
|
2024
2123
|
|
|
2025
2124
|
_param = self._upload_collection_serialize(
|
|
2026
2125
|
file=file,
|
|
2126
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
2027
2127
|
sha256=sha256,
|
|
2028
2128
|
expected_namespace=expected_namespace,
|
|
2029
2129
|
expected_name=expected_name,
|
|
@@ -2052,6 +2152,7 @@ class AnsibleCollectionsApi:
|
|
|
2052
2152
|
def upload_collection_with_http_info(
|
|
2053
2153
|
self,
|
|
2054
2154
|
file: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="The Collection tarball.")],
|
|
2155
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
2055
2156
|
sha256: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="An optional sha256 checksum of the uploaded file.")] = None,
|
|
2056
2157
|
expected_namespace: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The expected 'namespace' of the Collection to be verified against the metadata during import.")] = None,
|
|
2057
2158
|
expected_name: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The expected 'name' of the Collection to be verified against the metadata during import.")] = None,
|
|
@@ -2075,6 +2176,8 @@ class AnsibleCollectionsApi:
|
|
|
2075
2176
|
|
|
2076
2177
|
:param file: The Collection tarball. (required)
|
|
2077
2178
|
:type file: bytearray
|
|
2179
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
2180
|
+
:type x_task_diagnostics: List[str]
|
|
2078
2181
|
:param sha256: An optional sha256 checksum of the uploaded file.
|
|
2079
2182
|
:type sha256: str
|
|
2080
2183
|
:param expected_namespace: The expected 'namespace' of the Collection to be verified against the metadata during import.
|
|
@@ -2108,6 +2211,7 @@ class AnsibleCollectionsApi:
|
|
|
2108
2211
|
|
|
2109
2212
|
_param = self._upload_collection_serialize(
|
|
2110
2213
|
file=file,
|
|
2214
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
2111
2215
|
sha256=sha256,
|
|
2112
2216
|
expected_namespace=expected_namespace,
|
|
2113
2217
|
expected_name=expected_name,
|
|
@@ -2136,6 +2240,7 @@ class AnsibleCollectionsApi:
|
|
|
2136
2240
|
def upload_collection_without_preload_content(
|
|
2137
2241
|
self,
|
|
2138
2242
|
file: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="The Collection tarball.")],
|
|
2243
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
2139
2244
|
sha256: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="An optional sha256 checksum of the uploaded file.")] = None,
|
|
2140
2245
|
expected_namespace: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The expected 'namespace' of the Collection to be verified against the metadata during import.")] = None,
|
|
2141
2246
|
expected_name: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The expected 'name' of the Collection to be verified against the metadata during import.")] = None,
|
|
@@ -2159,6 +2264,8 @@ class AnsibleCollectionsApi:
|
|
|
2159
2264
|
|
|
2160
2265
|
:param file: The Collection tarball. (required)
|
|
2161
2266
|
:type file: bytearray
|
|
2267
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
2268
|
+
:type x_task_diagnostics: List[str]
|
|
2162
2269
|
:param sha256: An optional sha256 checksum of the uploaded file.
|
|
2163
2270
|
:type sha256: str
|
|
2164
2271
|
:param expected_namespace: The expected 'namespace' of the Collection to be verified against the metadata during import.
|
|
@@ -2192,6 +2299,7 @@ class AnsibleCollectionsApi:
|
|
|
2192
2299
|
|
|
2193
2300
|
_param = self._upload_collection_serialize(
|
|
2194
2301
|
file=file,
|
|
2302
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
2195
2303
|
sha256=sha256,
|
|
2196
2304
|
expected_namespace=expected_namespace,
|
|
2197
2305
|
expected_name=expected_name,
|
|
@@ -2215,6 +2323,7 @@ class AnsibleCollectionsApi:
|
|
|
2215
2323
|
def _upload_collection_serialize(
|
|
2216
2324
|
self,
|
|
2217
2325
|
file,
|
|
2326
|
+
x_task_diagnostics,
|
|
2218
2327
|
sha256,
|
|
2219
2328
|
expected_namespace,
|
|
2220
2329
|
expected_name,
|
|
@@ -2228,6 +2337,7 @@ class AnsibleCollectionsApi:
|
|
|
2228
2337
|
_host = None
|
|
2229
2338
|
|
|
2230
2339
|
_collection_formats: Dict[str, str] = {
|
|
2340
|
+
'X-Task-Diagnostics': 'csv',
|
|
2231
2341
|
}
|
|
2232
2342
|
|
|
2233
2343
|
_path_params: Dict[str, str] = {}
|
|
@@ -2242,6 +2352,8 @@ class AnsibleCollectionsApi:
|
|
|
2242
2352
|
# process the path parameters
|
|
2243
2353
|
# process the query parameters
|
|
2244
2354
|
# process the header parameters
|
|
2355
|
+
if x_task_diagnostics is not None:
|
|
2356
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
2245
2357
|
# process the form parameters
|
|
2246
2358
|
if file is not None:
|
|
2247
2359
|
_files['file'] = file
|