pulp-ansible-client 0.29.2__py3-none-any.whl → 0.29.3__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.29.2.dist-info → pulp_ansible_client-0.29.3.dist-info}/METADATA +4 -2
- {pulp_ansible_client-0.29.2.dist-info → pulp_ansible_client-0.29.3.dist-info}/RECORD +23 -21
- pulpcore/client/pulp_ansible/__init__.py +5 -1
- pulpcore/client/pulp_ansible/api/content_collection_signatures_api.py +16 -1
- pulpcore/client/pulp_ansible/api/content_collection_versions_api.py +31 -16
- pulpcore/client/pulp_ansible/api_client.py +1 -1
- pulpcore/client/pulp_ansible/configuration.py +1 -1
- pulpcore/client/pulp_ansible/models/__init__.py +2 -0
- pulpcore/client/pulp_ansible/models/ansible_collection_remote.py +9 -9
- pulpcore/client/pulp_ansible/models/ansible_collection_remote_response.py +10 -10
- pulpcore/client/pulp_ansible/models/ansible_collection_version_response.py +6 -6
- pulpcore/client/pulp_ansible/models/ansible_git_remote.py +56 -56
- pulpcore/client/pulp_ansible/models/ansible_git_remote_response.py +40 -40
- pulpcore/client/pulp_ansible/models/ansible_role_remote.py +9 -9
- pulpcore/client/pulp_ansible/models/ansible_role_remote_response.py +10 -10
- pulpcore/client/pulp_ansible/models/ansible_role_response.py +6 -6
- pulpcore/client/pulp_ansible/models/patchedansible_collection_remote.py +9 -9
- pulpcore/client/pulp_ansible/models/patchedansible_git_remote.py +56 -56
- pulpcore/client/pulp_ansible/models/patchedansible_role_remote.py +9 -9
- pulpcore/client/pulp_ansible/models/remote_network_config.py +178 -0
- pulpcore/client/pulp_ansible/models/remote_network_config_response.py +148 -0
- {pulp_ansible_client-0.29.2.dist-info → pulp_ansible_client-0.29.3.dist-info}/WHEEL +0 -0
- {pulp_ansible_client-0.29.2.dist-info → pulp_ansible_client-0.29.3.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pulp_ansible-client
|
|
3
|
-
Version: 0.29.
|
|
3
|
+
Version: 0.29.3
|
|
4
4
|
Summary: Pulp 3 API
|
|
5
5
|
Home-page:
|
|
6
6
|
Author: Pulp Team
|
|
@@ -24,7 +24,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
|
24
24
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
25
25
|
|
|
26
26
|
- API version: v3
|
|
27
|
-
- Package version: 0.29.
|
|
27
|
+
- Package version: 0.29.3
|
|
28
28
|
- Generator version: 7.14.0
|
|
29
29
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
30
30
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -398,6 +398,8 @@ Class | Method | HTTP request | Description
|
|
|
398
398
|
- [PatchedansibleGitRemote](docs/PatchedansibleGitRemote.md)
|
|
399
399
|
- [PatchedansibleRoleRemote](docs/PatchedansibleRoleRemote.md)
|
|
400
400
|
- [PolicyEnum](docs/PolicyEnum.md)
|
|
401
|
+
- [RemoteNetworkConfig](docs/RemoteNetworkConfig.md)
|
|
402
|
+
- [RemoteNetworkConfigResponse](docs/RemoteNetworkConfigResponse.md)
|
|
401
403
|
- [Repair](docs/Repair.md)
|
|
402
404
|
- [RepoMetadataResponse](docs/RepoMetadataResponse.md)
|
|
403
405
|
- [Repository](docs/Repository.md)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
pulpcore/__init__.py,sha256=QDJyS5jtJnGFsSuOx43ZvLBCOrHImm8NrZk5f9URWdk,75
|
|
2
2
|
pulpcore/client/__init__.py,sha256=QDJyS5jtJnGFsSuOx43ZvLBCOrHImm8NrZk5f9URWdk,75
|
|
3
|
-
pulpcore/client/pulp_ansible/__init__.py,sha256=
|
|
4
|
-
pulpcore/client/pulp_ansible/api_client.py,sha256=
|
|
3
|
+
pulpcore/client/pulp_ansible/__init__.py,sha256=I8shakoz5bNBs5blCTTnGx3NB9GFq7u5YkTKdm3DZQ8,30841
|
|
4
|
+
pulpcore/client/pulp_ansible/api_client.py,sha256=coyEvbcsGBiy3h1XsX4hshqVOTfqF77EJ_1BhY96rMw,27778
|
|
5
5
|
pulpcore/client/pulp_ansible/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
6
|
-
pulpcore/client/pulp_ansible/configuration.py,sha256=
|
|
6
|
+
pulpcore/client/pulp_ansible/configuration.py,sha256=h38r9pIHseRJHIC05xp8aSpb59eNrstYpMahJUw0YTc,19591
|
|
7
7
|
pulpcore/client/pulp_ansible/exceptions.py,sha256=UUQyfmHrA0wKpyniO8D6jgIOSee4k0dBIImRgs74ERw,6456
|
|
8
8
|
pulpcore/client/pulp_ansible/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
pulpcore/client/pulp_ansible/rest.py,sha256=zwJ0QlaKCkjYtP8-31rTPEmNJ7bi5VKDcKHn6ywtQDo,9467
|
|
@@ -15,8 +15,8 @@ pulpcore/client/pulp_ansible/api/api_roles_api.py,sha256=bvmGF_qiTaCCR33ANDMjWpr
|
|
|
15
15
|
pulpcore/client/pulp_ansible/api/collection_import_api.py,sha256=ex6W1SyK82yK01sGci6hLZLVVtHrJfgBpdUSlu54CTI,15410
|
|
16
16
|
pulpcore/client/pulp_ansible/api/content_collection_deprecations_api.py,sha256=J_kfM5f7j99UluSvw94Iz_SpqFdDVBYL7UYSRoQ11LY,78245
|
|
17
17
|
pulpcore/client/pulp_ansible/api/content_collection_marks_api.py,sha256=dkDukvgB4I-PwmCxWNTrvgN9p_xC998sxIJgbXnGn-0,84114
|
|
18
|
-
pulpcore/client/pulp_ansible/api/content_collection_signatures_api.py,sha256=
|
|
19
|
-
pulpcore/client/pulp_ansible/api/content_collection_versions_api.py,sha256=
|
|
18
|
+
pulpcore/client/pulp_ansible/api/content_collection_signatures_api.py,sha256=xbu7llAKOZ0LSWvrqBfhMrepT7mgTgRBpEjjKkzfOUU,94214
|
|
19
|
+
pulpcore/client/pulp_ansible/api/content_collection_versions_api.py,sha256=bDlIbOhLtCKxD85fwHxquIRcokxetvwjMnvpq4K92KA,102107
|
|
20
20
|
pulpcore/client/pulp_ansible/api/content_namespaces_api.py,sha256=FfOzP9KihQ5w7AhhPaFniHtctqT1QrWQ_itAd_vMyoQ,105899
|
|
21
21
|
pulpcore/client/pulp_ansible/api/content_roles_api.py,sha256=sR7u_np4SeNr6cW_2DwAS1QIbfEn0ryNpyVubt4p8bc,81990
|
|
22
22
|
pulpcore/client/pulp_ansible/api/distributions_ansible_api.py,sha256=MBhKSQ2KWpxtSEaJzM8QrMqPy4uBqfXZoSB_9ciGiSM,183603
|
|
@@ -65,7 +65,7 @@ pulpcore/client/pulp_ansible/api/remotes_role_api.py,sha256=cZ-bGY1HPuH5qwzjq8aw
|
|
|
65
65
|
pulpcore/client/pulp_ansible/api/repositories_ansible_api.py,sha256=eLntJBoS-WRj2TmNeI2LBLqoau8Z2yIJ0Vqvph9DQm4,292458
|
|
66
66
|
pulpcore/client/pulp_ansible/api/repositories_ansible_versions_api.py,sha256=rYiI9ZTOPwroDnOP3wNLJHr6VPll4-XSObJGlcgWxPM,92123
|
|
67
67
|
pulpcore/client/pulp_ansible/api/versions_api.py,sha256=l6DEp2Q0s3EMaiwnI9Jes3T1wyhM0I0WmGQDkHgiCN0,16181
|
|
68
|
-
pulpcore/client/pulp_ansible/models/__init__.py,sha256=
|
|
68
|
+
pulpcore/client/pulp_ansible/models/__init__.py,sha256=uAjsGWUud5zifjZM_K_q1nr7Sbv5VYRbcowg_pjqRYo,10627
|
|
69
69
|
pulpcore/client/pulp_ansible/models/ansible_ansible_collection_deprecated.py,sha256=-Eq5EtNn5C_h4aQGBkzYH-bYqluN6bv-nKFJDDmxgzI,3143
|
|
70
70
|
pulpcore/client/pulp_ansible/models/ansible_ansible_collection_deprecated_response.py,sha256=_GhRX_8bA0dOvzdse5grErD_L_HimfOppJrPB_Mv5WE,3932
|
|
71
71
|
pulpcore/client/pulp_ansible/models/ansible_ansible_distribution.py,sha256=0foE7Mb2d31Ok-YuOcW4g7QTnb0s3gDgEg7gjDjPfQA,4101
|
|
@@ -74,24 +74,24 @@ pulpcore/client/pulp_ansible/models/ansible_ansible_namespace_metadata.py,sha256
|
|
|
74
74
|
pulpcore/client/pulp_ansible/models/ansible_ansible_namespace_metadata_response.py,sha256=e_rYQYWMqvf2ccSMuYPiJs8MfB-nzuDo0_gaM-wk53g,4890
|
|
75
75
|
pulpcore/client/pulp_ansible/models/ansible_ansible_repository.py,sha256=DJtSWvZiAd4o7_wB13c6YuO-EPqfVtDx8KAzZxYLLMc,4778
|
|
76
76
|
pulpcore/client/pulp_ansible/models/ansible_ansible_repository_response.py,sha256=drsEhTcouhvizRSg3VEjRT4BECypyBoOss_1M1mfIBw,6119
|
|
77
|
-
pulpcore/client/pulp_ansible/models/ansible_collection_remote.py,sha256=
|
|
78
|
-
pulpcore/client/pulp_ansible/models/ansible_collection_remote_response.py,sha256=
|
|
77
|
+
pulpcore/client/pulp_ansible/models/ansible_collection_remote.py,sha256=2RhC1cNC8LVV1po7bLQEl10oAjbG56oAhXB2ksAeo5I,11997
|
|
78
|
+
pulpcore/client/pulp_ansible/models/ansible_collection_remote_response.py,sha256=6nbzOcHlwBUpSGKVhI5ThhD_9saLqdifvg8P8LdYlG0,10703
|
|
79
79
|
pulpcore/client/pulp_ansible/models/ansible_collection_remote_response_hidden_fields_inner.py,sha256=EBfcv9LJQmvvivT9gZaTcZd5EnRTXoLuTKIzaO9un_I,2594
|
|
80
80
|
pulpcore/client/pulp_ansible/models/ansible_collection_response.py,sha256=bBwtnFcJqeAV75lTmkWpR2dWa-60nuWDA1u0qeo5rr4,2621
|
|
81
81
|
pulpcore/client/pulp_ansible/models/ansible_collection_version_mark.py,sha256=8jbeJtr0XdaexRSZlE_uUAIeeiHmHSYwTCBAhMXeuQo,3040
|
|
82
82
|
pulpcore/client/pulp_ansible/models/ansible_collection_version_mark_response.py,sha256=l9ul-a9ZZ7ZjOXj_L4XU9X5izU-BKaz2pifZnVDqgSM,3411
|
|
83
|
-
pulpcore/client/pulp_ansible/models/ansible_collection_version_response.py,sha256=
|
|
83
|
+
pulpcore/client/pulp_ansible/models/ansible_collection_version_response.py,sha256=JtfhMmLBroGhLxTXRq5fcO09iJFqaVbBVv8_YGN7K5k,8701
|
|
84
84
|
pulpcore/client/pulp_ansible/models/ansible_collection_version_signature_response.py,sha256=mM6AxP2T7iB6s_MAweA848G1EfMIiOKsHf-UZZICMJg,4554
|
|
85
|
-
pulpcore/client/pulp_ansible/models/ansible_git_remote.py,sha256=
|
|
86
|
-
pulpcore/client/pulp_ansible/models/ansible_git_remote_response.py,sha256=
|
|
85
|
+
pulpcore/client/pulp_ansible/models/ansible_git_remote.py,sha256=ZY-7b3XUo37ZgZTnXUZRzANC3kStI3h6IVnzaSdPv4Q,10444
|
|
86
|
+
pulpcore/client/pulp_ansible/models/ansible_git_remote_response.py,sha256=ZDoX3IRpCkeFEzvG8f36AhK1oHWG0XPrXEXMD49aBLE,9536
|
|
87
87
|
pulpcore/client/pulp_ansible/models/ansible_repository_mark.py,sha256=ZbBabTt_hdzGsokEnhCfX-Mw0E2IfMaGXn3u5s9884o,3048
|
|
88
88
|
pulpcore/client/pulp_ansible/models/ansible_repository_rebuild.py,sha256=rD6rPDJ4poc5J7mLkzSatYky9sLyerGMusTF7XqKfUs,3386
|
|
89
89
|
pulpcore/client/pulp_ansible/models/ansible_repository_signature.py,sha256=Rvye9n6AbLK57iAWz0b-74d2AUwDlMO7AHruvCZO6SQ,2723
|
|
90
90
|
pulpcore/client/pulp_ansible/models/ansible_repository_sync_url.py,sha256=k3kO9KFxkFtGeSFMkTxfhoeFT6OwZAMFN9mpsY55bjo,2961
|
|
91
91
|
pulpcore/client/pulp_ansible/models/ansible_role.py,sha256=9BXmoptzMf5A-Fx9G1LaTex-_CtTBQB-bKzJDAeSLAs,3129
|
|
92
|
-
pulpcore/client/pulp_ansible/models/ansible_role_remote.py,sha256=
|
|
93
|
-
pulpcore/client/pulp_ansible/models/ansible_role_remote_response.py,sha256=
|
|
94
|
-
pulpcore/client/pulp_ansible/models/ansible_role_response.py,sha256=
|
|
92
|
+
pulpcore/client/pulp_ansible/models/ansible_role_remote.py,sha256=suDK1D8h0gAP2IC-47hKoZzjwipxrEpaPny536sCSaQ,10330
|
|
93
|
+
pulpcore/client/pulp_ansible/models/ansible_role_remote_response.py,sha256=Ke9F3AREoKIe8DviDfVISqz3Rtwz3d8GmuQ4g7uglbI,9461
|
|
94
|
+
pulpcore/client/pulp_ansible/models/ansible_role_response.py,sha256=7BuUoUjSXBhAYXoU_b_PjMqu0flGcepfDOVRUOaUpg8,3879
|
|
95
95
|
pulpcore/client/pulp_ansible/models/artifact_ref_response.py,sha256=ZB7gI5ahhgBgLZH8LKUa0H7tXZDaWBHG4a4um-O8sl0,2532
|
|
96
96
|
pulpcore/client/pulp_ansible/models/async_operation_response.py,sha256=tu8pF5qBaB8ekyXKMWKGHxOGr27EmRLLKSSnaOCuPSw,2514
|
|
97
97
|
pulpcore/client/pulp_ansible/models/client_configuration_response.py,sha256=HPB_11QbXjlrzZqWeRkT0CE7gmXapEUHY47_M9fam_w,2836
|
|
@@ -143,10 +143,12 @@ pulpcore/client/pulp_ansible/models/paginatedansible_role_response_list.py,sha25
|
|
|
143
143
|
pulpcore/client/pulp_ansible/models/patched_collection.py,sha256=GZBd2wvO26fTZYxMiGelj7Ur5RfS2O683VM_FFBu9Io,2479
|
|
144
144
|
pulpcore/client/pulp_ansible/models/patchedansible_ansible_distribution.py,sha256=UcptZ7WVef2fZmK4m0Vzq3VGo4BYwCjLpGfgjZO7TRM,4170
|
|
145
145
|
pulpcore/client/pulp_ansible/models/patchedansible_ansible_repository.py,sha256=ckZshuVB22scEYMdNgnXkbofYxFZKrHQ0fqiPeM3xCY,4823
|
|
146
|
-
pulpcore/client/pulp_ansible/models/patchedansible_collection_remote.py,sha256=
|
|
147
|
-
pulpcore/client/pulp_ansible/models/patchedansible_git_remote.py,sha256
|
|
148
|
-
pulpcore/client/pulp_ansible/models/patchedansible_role_remote.py,sha256=
|
|
146
|
+
pulpcore/client/pulp_ansible/models/patchedansible_collection_remote.py,sha256=UFUYeyBZ2USoM7gzy0BReh7EN1hcoVfFejteSXXDPDM,12066
|
|
147
|
+
pulpcore/client/pulp_ansible/models/patchedansible_git_remote.py,sha256=PIzmzQOTvCvlfk-nVuACfRFifbWlNHwfknuCAnA--Co,10513
|
|
148
|
+
pulpcore/client/pulp_ansible/models/patchedansible_role_remote.py,sha256=sniPkVzFadwWWg-BTghk63MTldsWkysIuNNYJPsOkYQ,10399
|
|
149
149
|
pulpcore/client/pulp_ansible/models/policy_enum.py,sha256=fTbVIDfgaD0BEWtpX8wzz1dSDWuvYJhmROvxX52o8lY,770
|
|
150
|
+
pulpcore/client/pulp_ansible/models/remote_network_config.py,sha256=1oUi1vtC6VPmE-7JdNdrq6_lz-IU6kqbvxTITrnI8C0,9818
|
|
151
|
+
pulpcore/client/pulp_ansible/models/remote_network_config_response.py,sha256=lEl5KR6_dDYQvJgwggQsi5CwchGWLCAz2LqdjM4tKy4,7585
|
|
150
152
|
pulpcore/client/pulp_ansible/models/repair.py,sha256=-jAKvUUzykn-n5O5jYGJy40JF0PRI32rJA8lojwQV-o,2635
|
|
151
153
|
pulpcore/client/pulp_ansible/models/repo_metadata_response.py,sha256=VZl6cvj1EkO0O4HCtAxkEpElW5mKgkUl9fb8yqXCzds,2496
|
|
152
154
|
pulpcore/client/pulp_ansible/models/repository.py,sha256=bImdKYkY8O0Fou6btcxJDnzaW5j_lPLsVgIsTwjVXWo,4116
|
|
@@ -159,7 +161,7 @@ pulpcore/client/pulp_ansible/models/tag_response.py,sha256=m5r1IIGuCcZ_3A2EQPg8G
|
|
|
159
161
|
pulpcore/client/pulp_ansible/models/unpaginated_collection_version_response.py,sha256=prqxXFvb-HXWDehIApaILbQQ65Wlw4EjbyY_lkmiVuM,6225
|
|
160
162
|
pulpcore/client/pulp_ansible/models/unset_label.py,sha256=WnWV9ibAg1S0cNy1wYO1AZ_LevaAw2I1oGrNDv7aZzw,2816
|
|
161
163
|
pulpcore/client/pulp_ansible/models/unset_label_response.py,sha256=fZqXde-Il2OMNq7O2oA1T9X9K5R9BIwg7vDMzBFKLcI,2965
|
|
162
|
-
pulp_ansible_client-0.29.
|
|
163
|
-
pulp_ansible_client-0.29.
|
|
164
|
-
pulp_ansible_client-0.29.
|
|
165
|
-
pulp_ansible_client-0.29.
|
|
164
|
+
pulp_ansible_client-0.29.3.dist-info/METADATA,sha256=JMeuJI-M9_kNXWCCELRH33QiA2Fku6QCRONv3sHqSec,46055
|
|
165
|
+
pulp_ansible_client-0.29.3.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
166
|
+
pulp_ansible_client-0.29.3.dist-info/top_level.txt,sha256=v1J0AeNxNhm8YE5-xQe1G1YbfoMRZ_u9DAg_Gi7omeY,9
|
|
167
|
+
pulp_ansible_client-0.29.3.dist-info/RECORD,,
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
""" # noqa: E501
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
__version__ = "0.29.
|
|
18
|
+
__version__ = "0.29.3"
|
|
19
19
|
|
|
20
20
|
# Define package exports
|
|
21
21
|
__all__ = [
|
|
@@ -166,6 +166,8 @@ __all__ = [
|
|
|
166
166
|
"PatchedansibleGitRemote",
|
|
167
167
|
"PatchedansibleRoleRemote",
|
|
168
168
|
"PolicyEnum",
|
|
169
|
+
"RemoteNetworkConfig",
|
|
170
|
+
"RemoteNetworkConfigResponse",
|
|
169
171
|
"Repair",
|
|
170
172
|
"RepoMetadataResponse",
|
|
171
173
|
"Repository",
|
|
@@ -332,6 +334,8 @@ from pulpcore.client.pulp_ansible.models.patchedansible_collection_remote import
|
|
|
332
334
|
from pulpcore.client.pulp_ansible.models.patchedansible_git_remote import PatchedansibleGitRemote as PatchedansibleGitRemote
|
|
333
335
|
from pulpcore.client.pulp_ansible.models.patchedansible_role_remote import PatchedansibleRoleRemote as PatchedansibleRoleRemote
|
|
334
336
|
from pulpcore.client.pulp_ansible.models.policy_enum import PolicyEnum as PolicyEnum
|
|
337
|
+
from pulpcore.client.pulp_ansible.models.remote_network_config import RemoteNetworkConfig as RemoteNetworkConfig
|
|
338
|
+
from pulpcore.client.pulp_ansible.models.remote_network_config_response import RemoteNetworkConfigResponse as RemoteNetworkConfigResponse
|
|
335
339
|
from pulpcore.client.pulp_ansible.models.repair import Repair as Repair
|
|
336
340
|
from pulpcore.client.pulp_ansible.models.repo_metadata_response import RepoMetadataResponse as RepoMetadataResponse
|
|
337
341
|
from pulpcore.client.pulp_ansible.models.repository import Repository as Repository
|
|
@@ -18,7 +18,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union
|
|
|
18
18
|
from typing_extensions import Annotated
|
|
19
19
|
|
|
20
20
|
from pydantic import Field, StrictBytes, StrictFloat, StrictInt, StrictStr, field_validator
|
|
21
|
-
from typing import Dict, List, Optional, Tuple, Union
|
|
21
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
23
|
from pulpcore.client.pulp_ansible.models.ansible_collection_version_signature_response import AnsibleCollectionVersionSignatureResponse
|
|
24
24
|
from pulpcore.client.pulp_ansible.models.async_operation_response import AsyncOperationResponse
|
|
@@ -56,6 +56,7 @@ class ContentCollectionSignaturesApi:
|
|
|
56
56
|
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
|
|
57
57
|
upload: Annotated[Optional[StrictStr], Field(description="An uncommitted upload that may be turned into the content unit.")] = None,
|
|
58
58
|
file_url: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="A url that Pulp can download and turn into the content unit.")] = None,
|
|
59
|
+
downloader_config: Annotated[Optional[Any], Field(description="Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.")] = None,
|
|
59
60
|
_request_timeout: Union[
|
|
60
61
|
None,
|
|
61
62
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -87,6 +88,8 @@ class ContentCollectionSignaturesApi:
|
|
|
87
88
|
:type upload: str
|
|
88
89
|
:param file_url: A url that Pulp can download and turn into the content unit.
|
|
89
90
|
:type file_url: str
|
|
91
|
+
:param downloader_config: Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
92
|
+
:type downloader_config: RemoteNetworkConfig
|
|
90
93
|
:param _request_timeout: timeout setting for this request. If one
|
|
91
94
|
number provided, it will be total request
|
|
92
95
|
timeout. It can also be a pair (tuple) of
|
|
@@ -117,6 +120,7 @@ class ContentCollectionSignaturesApi:
|
|
|
117
120
|
file=file,
|
|
118
121
|
upload=upload,
|
|
119
122
|
file_url=file_url,
|
|
123
|
+
downloader_config=downloader_config,
|
|
120
124
|
_request_auth=_request_auth,
|
|
121
125
|
_content_type=_content_type,
|
|
122
126
|
_headers=_headers,
|
|
@@ -147,6 +151,7 @@ class ContentCollectionSignaturesApi:
|
|
|
147
151
|
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
|
|
148
152
|
upload: Annotated[Optional[StrictStr], Field(description="An uncommitted upload that may be turned into the content unit.")] = None,
|
|
149
153
|
file_url: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="A url that Pulp can download and turn into the content unit.")] = None,
|
|
154
|
+
downloader_config: Annotated[Optional[Any], Field(description="Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.")] = None,
|
|
150
155
|
_request_timeout: Union[
|
|
151
156
|
None,
|
|
152
157
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -178,6 +183,8 @@ class ContentCollectionSignaturesApi:
|
|
|
178
183
|
:type upload: str
|
|
179
184
|
:param file_url: A url that Pulp can download and turn into the content unit.
|
|
180
185
|
:type file_url: str
|
|
186
|
+
:param downloader_config: Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
187
|
+
:type downloader_config: RemoteNetworkConfig
|
|
181
188
|
:param _request_timeout: timeout setting for this request. If one
|
|
182
189
|
number provided, it will be total request
|
|
183
190
|
timeout. It can also be a pair (tuple) of
|
|
@@ -208,6 +215,7 @@ class ContentCollectionSignaturesApi:
|
|
|
208
215
|
file=file,
|
|
209
216
|
upload=upload,
|
|
210
217
|
file_url=file_url,
|
|
218
|
+
downloader_config=downloader_config,
|
|
211
219
|
_request_auth=_request_auth,
|
|
212
220
|
_content_type=_content_type,
|
|
213
221
|
_headers=_headers,
|
|
@@ -238,6 +246,7 @@ class ContentCollectionSignaturesApi:
|
|
|
238
246
|
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
|
|
239
247
|
upload: Annotated[Optional[StrictStr], Field(description="An uncommitted upload that may be turned into the content unit.")] = None,
|
|
240
248
|
file_url: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="A url that Pulp can download and turn into the content unit.")] = None,
|
|
249
|
+
downloader_config: Annotated[Optional[Any], Field(description="Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.")] = None,
|
|
241
250
|
_request_timeout: Union[
|
|
242
251
|
None,
|
|
243
252
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -269,6 +278,8 @@ class ContentCollectionSignaturesApi:
|
|
|
269
278
|
:type upload: str
|
|
270
279
|
:param file_url: A url that Pulp can download and turn into the content unit.
|
|
271
280
|
:type file_url: str
|
|
281
|
+
:param downloader_config: Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
282
|
+
:type downloader_config: RemoteNetworkConfig
|
|
272
283
|
:param _request_timeout: timeout setting for this request. If one
|
|
273
284
|
number provided, it will be total request
|
|
274
285
|
timeout. It can also be a pair (tuple) of
|
|
@@ -299,6 +310,7 @@ class ContentCollectionSignaturesApi:
|
|
|
299
310
|
file=file,
|
|
300
311
|
upload=upload,
|
|
301
312
|
file_url=file_url,
|
|
313
|
+
downloader_config=downloader_config,
|
|
302
314
|
_request_auth=_request_auth,
|
|
303
315
|
_content_type=_content_type,
|
|
304
316
|
_headers=_headers,
|
|
@@ -324,6 +336,7 @@ class ContentCollectionSignaturesApi:
|
|
|
324
336
|
file,
|
|
325
337
|
upload,
|
|
326
338
|
file_url,
|
|
339
|
+
downloader_config,
|
|
327
340
|
_request_auth,
|
|
328
341
|
_content_type,
|
|
329
342
|
_headers,
|
|
@@ -361,6 +374,8 @@ class ContentCollectionSignaturesApi:
|
|
|
361
374
|
_form_params.append(('upload', upload))
|
|
362
375
|
if file_url is not None:
|
|
363
376
|
_form_params.append(('file_url', file_url))
|
|
377
|
+
if downloader_config is not None:
|
|
378
|
+
_form_params.append(('downloader_config', downloader_config))
|
|
364
379
|
if signed_collection is not None:
|
|
365
380
|
_form_params.append(('signed_collection', signed_collection))
|
|
366
381
|
# process the body parameter
|
|
@@ -18,7 +18,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union
|
|
|
18
18
|
from typing_extensions import Annotated
|
|
19
19
|
|
|
20
20
|
from pydantic import Field, StrictBytes, StrictFloat, StrictInt, StrictStr, field_validator
|
|
21
|
-
from typing import Dict, List, Optional, Tuple, Union
|
|
21
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
23
|
from pulpcore.client.pulp_ansible.models.ansible_collection_version_response import AnsibleCollectionVersionResponse
|
|
24
24
|
from pulpcore.client.pulp_ansible.models.async_operation_response import AsyncOperationResponse
|
|
@@ -50,11 +50,12 @@ class ContentCollectionVersionsApi:
|
|
|
50
50
|
def create(
|
|
51
51
|
self,
|
|
52
52
|
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
53
|
+
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
|
|
54
|
+
downloader_config: Annotated[Optional[Any], Field(description="Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.")] = None,
|
|
53
55
|
file_url: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="A url that Pulp can download and turn into the content unit.")] = None,
|
|
54
56
|
upload: Annotated[Optional[StrictStr], Field(description="An uncommitted upload that may be turned into the content unit.")] = None,
|
|
55
57
|
artifact: Annotated[Optional[StrictStr], Field(description="Artifact file representing the physical content")] = None,
|
|
56
58
|
pulp_labels: Annotated[Optional[Dict[str, Optional[StrictStr]]], Field(description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")] = None,
|
|
57
|
-
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
|
|
58
59
|
repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = None,
|
|
59
60
|
expected_name: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True, max_length=64)]], Field(description="The name of the collection.")] = None,
|
|
60
61
|
expected_namespace: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True, max_length=64)]], Field(description="The namespace of the collection.")] = None,
|
|
@@ -78,6 +79,10 @@ class ContentCollectionVersionsApi:
|
|
|
78
79
|
|
|
79
80
|
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
80
81
|
:type x_task_diagnostics: List[str]
|
|
82
|
+
:param file: An uploaded file that may be turned into the content unit.
|
|
83
|
+
:type file: bytearray
|
|
84
|
+
:param downloader_config: Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
85
|
+
:type downloader_config: RemoteNetworkConfig
|
|
81
86
|
:param file_url: A url that Pulp can download and turn into the content unit.
|
|
82
87
|
:type file_url: str
|
|
83
88
|
:param upload: An uncommitted upload that may be turned into the content unit.
|
|
@@ -86,8 +91,6 @@ class ContentCollectionVersionsApi:
|
|
|
86
91
|
:type artifact: str
|
|
87
92
|
:param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
88
93
|
:type pulp_labels: Dict[str, Optional[str]]
|
|
89
|
-
:param file: An uploaded file that may be turned into the content unit.
|
|
90
|
-
:type file: bytearray
|
|
91
94
|
:param repository: A URI of a repository the new content unit should be associated with.
|
|
92
95
|
:type repository: str
|
|
93
96
|
:param expected_name: The name of the collection.
|
|
@@ -120,11 +123,12 @@ class ContentCollectionVersionsApi:
|
|
|
120
123
|
|
|
121
124
|
_param = self._create_serialize(
|
|
122
125
|
x_task_diagnostics=x_task_diagnostics,
|
|
126
|
+
file=file,
|
|
127
|
+
downloader_config=downloader_config,
|
|
123
128
|
file_url=file_url,
|
|
124
129
|
upload=upload,
|
|
125
130
|
artifact=artifact,
|
|
126
131
|
pulp_labels=pulp_labels,
|
|
127
|
-
file=file,
|
|
128
132
|
repository=repository,
|
|
129
133
|
expected_name=expected_name,
|
|
130
134
|
expected_namespace=expected_namespace,
|
|
@@ -153,11 +157,12 @@ class ContentCollectionVersionsApi:
|
|
|
153
157
|
def create_with_http_info(
|
|
154
158
|
self,
|
|
155
159
|
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
160
|
+
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
|
|
161
|
+
downloader_config: Annotated[Optional[Any], Field(description="Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.")] = None,
|
|
156
162
|
file_url: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="A url that Pulp can download and turn into the content unit.")] = None,
|
|
157
163
|
upload: Annotated[Optional[StrictStr], Field(description="An uncommitted upload that may be turned into the content unit.")] = None,
|
|
158
164
|
artifact: Annotated[Optional[StrictStr], Field(description="Artifact file representing the physical content")] = None,
|
|
159
165
|
pulp_labels: Annotated[Optional[Dict[str, Optional[StrictStr]]], Field(description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")] = None,
|
|
160
|
-
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
|
|
161
166
|
repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = None,
|
|
162
167
|
expected_name: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True, max_length=64)]], Field(description="The name of the collection.")] = None,
|
|
163
168
|
expected_namespace: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True, max_length=64)]], Field(description="The namespace of the collection.")] = None,
|
|
@@ -181,6 +186,10 @@ class ContentCollectionVersionsApi:
|
|
|
181
186
|
|
|
182
187
|
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
183
188
|
:type x_task_diagnostics: List[str]
|
|
189
|
+
:param file: An uploaded file that may be turned into the content unit.
|
|
190
|
+
:type file: bytearray
|
|
191
|
+
:param downloader_config: Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
192
|
+
:type downloader_config: RemoteNetworkConfig
|
|
184
193
|
:param file_url: A url that Pulp can download and turn into the content unit.
|
|
185
194
|
:type file_url: str
|
|
186
195
|
:param upload: An uncommitted upload that may be turned into the content unit.
|
|
@@ -189,8 +198,6 @@ class ContentCollectionVersionsApi:
|
|
|
189
198
|
:type artifact: str
|
|
190
199
|
:param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
191
200
|
:type pulp_labels: Dict[str, Optional[str]]
|
|
192
|
-
:param file: An uploaded file that may be turned into the content unit.
|
|
193
|
-
:type file: bytearray
|
|
194
201
|
:param repository: A URI of a repository the new content unit should be associated with.
|
|
195
202
|
:type repository: str
|
|
196
203
|
:param expected_name: The name of the collection.
|
|
@@ -223,11 +230,12 @@ class ContentCollectionVersionsApi:
|
|
|
223
230
|
|
|
224
231
|
_param = self._create_serialize(
|
|
225
232
|
x_task_diagnostics=x_task_diagnostics,
|
|
233
|
+
file=file,
|
|
234
|
+
downloader_config=downloader_config,
|
|
226
235
|
file_url=file_url,
|
|
227
236
|
upload=upload,
|
|
228
237
|
artifact=artifact,
|
|
229
238
|
pulp_labels=pulp_labels,
|
|
230
|
-
file=file,
|
|
231
239
|
repository=repository,
|
|
232
240
|
expected_name=expected_name,
|
|
233
241
|
expected_namespace=expected_namespace,
|
|
@@ -256,11 +264,12 @@ class ContentCollectionVersionsApi:
|
|
|
256
264
|
def create_without_preload_content(
|
|
257
265
|
self,
|
|
258
266
|
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
267
|
+
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
|
|
268
|
+
downloader_config: Annotated[Optional[Any], Field(description="Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.")] = None,
|
|
259
269
|
file_url: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="A url that Pulp can download and turn into the content unit.")] = None,
|
|
260
270
|
upload: Annotated[Optional[StrictStr], Field(description="An uncommitted upload that may be turned into the content unit.")] = None,
|
|
261
271
|
artifact: Annotated[Optional[StrictStr], Field(description="Artifact file representing the physical content")] = None,
|
|
262
272
|
pulp_labels: Annotated[Optional[Dict[str, Optional[StrictStr]]], Field(description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")] = None,
|
|
263
|
-
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
|
|
264
273
|
repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = None,
|
|
265
274
|
expected_name: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True, max_length=64)]], Field(description="The name of the collection.")] = None,
|
|
266
275
|
expected_namespace: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True, max_length=64)]], Field(description="The namespace of the collection.")] = None,
|
|
@@ -284,6 +293,10 @@ class ContentCollectionVersionsApi:
|
|
|
284
293
|
|
|
285
294
|
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
286
295
|
:type x_task_diagnostics: List[str]
|
|
296
|
+
:param file: An uploaded file that may be turned into the content unit.
|
|
297
|
+
:type file: bytearray
|
|
298
|
+
:param downloader_config: Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
299
|
+
:type downloader_config: RemoteNetworkConfig
|
|
287
300
|
:param file_url: A url that Pulp can download and turn into the content unit.
|
|
288
301
|
:type file_url: str
|
|
289
302
|
:param upload: An uncommitted upload that may be turned into the content unit.
|
|
@@ -292,8 +305,6 @@ class ContentCollectionVersionsApi:
|
|
|
292
305
|
:type artifact: str
|
|
293
306
|
:param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
294
307
|
:type pulp_labels: Dict[str, Optional[str]]
|
|
295
|
-
:param file: An uploaded file that may be turned into the content unit.
|
|
296
|
-
:type file: bytearray
|
|
297
308
|
:param repository: A URI of a repository the new content unit should be associated with.
|
|
298
309
|
:type repository: str
|
|
299
310
|
:param expected_name: The name of the collection.
|
|
@@ -326,11 +337,12 @@ class ContentCollectionVersionsApi:
|
|
|
326
337
|
|
|
327
338
|
_param = self._create_serialize(
|
|
328
339
|
x_task_diagnostics=x_task_diagnostics,
|
|
340
|
+
file=file,
|
|
341
|
+
downloader_config=downloader_config,
|
|
329
342
|
file_url=file_url,
|
|
330
343
|
upload=upload,
|
|
331
344
|
artifact=artifact,
|
|
332
345
|
pulp_labels=pulp_labels,
|
|
333
|
-
file=file,
|
|
334
346
|
repository=repository,
|
|
335
347
|
expected_name=expected_name,
|
|
336
348
|
expected_namespace=expected_namespace,
|
|
@@ -354,11 +366,12 @@ class ContentCollectionVersionsApi:
|
|
|
354
366
|
def _create_serialize(
|
|
355
367
|
self,
|
|
356
368
|
x_task_diagnostics,
|
|
369
|
+
file,
|
|
370
|
+
downloader_config,
|
|
357
371
|
file_url,
|
|
358
372
|
upload,
|
|
359
373
|
artifact,
|
|
360
374
|
pulp_labels,
|
|
361
|
-
file,
|
|
362
375
|
repository,
|
|
363
376
|
expected_name,
|
|
364
377
|
expected_namespace,
|
|
@@ -390,6 +403,10 @@ class ContentCollectionVersionsApi:
|
|
|
390
403
|
if x_task_diagnostics is not None:
|
|
391
404
|
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
392
405
|
# process the form parameters
|
|
406
|
+
if file is not None:
|
|
407
|
+
_files['file'] = file
|
|
408
|
+
if downloader_config is not None:
|
|
409
|
+
_form_params.append(('downloader_config', downloader_config))
|
|
393
410
|
if file_url is not None:
|
|
394
411
|
_form_params.append(('file_url', file_url))
|
|
395
412
|
if upload is not None:
|
|
@@ -398,8 +415,6 @@ class ContentCollectionVersionsApi:
|
|
|
398
415
|
_form_params.append(('artifact', artifact))
|
|
399
416
|
if pulp_labels is not None:
|
|
400
417
|
_form_params.append(('pulp_labels', pulp_labels))
|
|
401
|
-
if file is not None:
|
|
402
|
-
_files['file'] = file
|
|
403
418
|
if repository is not None:
|
|
404
419
|
_form_params.append(('repository', repository))
|
|
405
420
|
if expected_name is not None:
|
|
@@ -91,7 +91,7 @@ class ApiClient:
|
|
|
91
91
|
self.default_headers[header_name] = header_value
|
|
92
92
|
self.cookie = cookie
|
|
93
93
|
# Set default User-Agent.
|
|
94
|
-
self.user_agent = 'OpenAPI-Generator/0.29.
|
|
94
|
+
self.user_agent = 'OpenAPI-Generator/0.29.3/python'
|
|
95
95
|
self.client_side_validation = configuration.client_side_validation
|
|
96
96
|
|
|
97
97
|
def __enter__(self):
|
|
@@ -556,7 +556,7 @@ conf = pulpcore.client.pulp_ansible.Configuration(
|
|
|
556
556
|
"OS: {env}\n"\
|
|
557
557
|
"Python Version: {pyversion}\n"\
|
|
558
558
|
"Version of the API: v3\n"\
|
|
559
|
-
"SDK Package Version: 0.29.
|
|
559
|
+
"SDK Package Version: 0.29.3".\
|
|
560
560
|
format(env=sys.platform, pyversion=sys.version)
|
|
561
561
|
|
|
562
562
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -96,6 +96,8 @@ from pulpcore.client.pulp_ansible.models.patchedansible_collection_remote import
|
|
|
96
96
|
from pulpcore.client.pulp_ansible.models.patchedansible_git_remote import PatchedansibleGitRemote
|
|
97
97
|
from pulpcore.client.pulp_ansible.models.patchedansible_role_remote import PatchedansibleRoleRemote
|
|
98
98
|
from pulpcore.client.pulp_ansible.models.policy_enum import PolicyEnum
|
|
99
|
+
from pulpcore.client.pulp_ansible.models.remote_network_config import RemoteNetworkConfig
|
|
100
|
+
from pulpcore.client.pulp_ansible.models.remote_network_config_response import RemoteNetworkConfigResponse
|
|
99
101
|
from pulpcore.client.pulp_ansible.models.repair import Repair
|
|
100
102
|
from pulpcore.client.pulp_ansible.models.repo_metadata_response import RepoMetadataResponse
|
|
101
103
|
from pulpcore.client.pulp_ansible.models.repository import Repository
|
|
@@ -31,6 +31,8 @@ class AnsibleCollectionRemote(BaseModel):
|
|
|
31
31
|
""" # noqa: E501
|
|
32
32
|
name: Annotated[str, Field(min_length=1, strict=True)] = Field(description="A unique name for this remote.")
|
|
33
33
|
url: Annotated[str, Field(min_length=1, strict=True)] = Field(description="The URL of an external content source.")
|
|
34
|
+
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
|
|
35
|
+
policy: Optional[PolicyEnum] = Field(default=None, description="The policy to use when downloading content. * `immediate` - When syncing, download all metadata and content now.")
|
|
34
36
|
ca_cert: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A PEM encoded CA certificate used to validate the server certificate presented by the remote server.")
|
|
35
37
|
client_cert: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A PEM encoded client certificate used for authentication.")
|
|
36
38
|
client_key: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A PEM encoded private key used for authentication.")
|
|
@@ -40,22 +42,20 @@ class AnsibleCollectionRemote(BaseModel):
|
|
|
40
42
|
proxy_password: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed.")
|
|
41
43
|
username: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The username to be used for authentication when syncing.")
|
|
42
44
|
password: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.")
|
|
43
|
-
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
|
|
44
|
-
download_concurrency: Optional[StrictInt] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
|
|
45
45
|
max_retries: Optional[StrictInt] = Field(default=None, description="Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.")
|
|
46
|
-
policy: Optional[PolicyEnum] = Field(default=None, description="The policy to use when downloading content. * `immediate` - When syncing, download all metadata and content now.")
|
|
47
46
|
total_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
|
|
48
47
|
connect_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
|
|
49
48
|
sock_connect_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
|
|
50
49
|
sock_read_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
|
|
51
50
|
headers: Optional[List[Dict[str, Any]]] = Field(default=None, description="Headers for aiohttp.Clientsession")
|
|
51
|
+
download_concurrency: Optional[StrictInt] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
|
|
52
52
|
rate_limit: Optional[StrictInt] = Field(default=None, description="Limits requests per second for each concurrent downloader")
|
|
53
53
|
requirements_file: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The string version of Collection requirements yaml.")
|
|
54
54
|
auth_url: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The URL to receive a session token from, e.g. used with Automation Hub.")
|
|
55
55
|
token: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The token key to use for authentication. See https://docs.ansible.com/ansible/latest/user_guide/collections_using.html#configuring-the-ansible-galaxy-clientfor more details")
|
|
56
56
|
sync_dependencies: Optional[StrictBool] = Field(default=None, description="Sync dependencies for collections specified via requirements file")
|
|
57
57
|
signed_only: Optional[StrictBool] = Field(default=None, description="Sync only collections that have a signature")
|
|
58
|
-
__properties: ClassVar[List[str]] = ["name", "url", "ca_cert", "client_cert", "client_key", "tls_validation", "proxy_url", "proxy_username", "proxy_password", "username", "password", "
|
|
58
|
+
__properties: ClassVar[List[str]] = ["name", "url", "pulp_labels", "policy", "ca_cert", "client_cert", "client_key", "tls_validation", "proxy_url", "proxy_username", "proxy_password", "username", "password", "max_retries", "total_timeout", "connect_timeout", "sock_connect_timeout", "sock_read_timeout", "headers", "download_concurrency", "rate_limit", "requirements_file", "auth_url", "token", "sync_dependencies", "signed_only"]
|
|
59
59
|
|
|
60
60
|
model_config = ConfigDict(
|
|
61
61
|
populate_by_name=True,
|
|
@@ -136,11 +136,6 @@ class AnsibleCollectionRemote(BaseModel):
|
|
|
136
136
|
if self.password is None and "password" in self.model_fields_set:
|
|
137
137
|
_dict['password'] = None
|
|
138
138
|
|
|
139
|
-
# set to None if download_concurrency (nullable) is None
|
|
140
|
-
# and model_fields_set contains the field
|
|
141
|
-
if self.download_concurrency is None and "download_concurrency" in self.model_fields_set:
|
|
142
|
-
_dict['download_concurrency'] = None
|
|
143
|
-
|
|
144
139
|
# set to None if max_retries (nullable) is None
|
|
145
140
|
# and model_fields_set contains the field
|
|
146
141
|
if self.max_retries is None and "max_retries" in self.model_fields_set:
|
|
@@ -166,6 +161,11 @@ class AnsibleCollectionRemote(BaseModel):
|
|
|
166
161
|
if self.sock_read_timeout is None and "sock_read_timeout" in self.model_fields_set:
|
|
167
162
|
_dict['sock_read_timeout'] = None
|
|
168
163
|
|
|
164
|
+
# set to None if download_concurrency (nullable) is None
|
|
165
|
+
# and model_fields_set contains the field
|
|
166
|
+
if self.download_concurrency is None and "download_concurrency" in self.model_fields_set:
|
|
167
|
+
_dict['download_concurrency'] = None
|
|
168
|
+
|
|
169
169
|
# set to None if rate_limit (nullable) is None
|
|
170
170
|
# and model_fields_set contains the field
|
|
171
171
|
if self.rate_limit is None and "rate_limit" in self.model_fields_set:
|
|
@@ -37,27 +37,27 @@ class AnsibleCollectionRemoteResponse(BaseModel):
|
|
|
37
37
|
pulp_last_updated: Optional[datetime] = Field(default=None, description="Timestamp of the most recent update of the remote.")
|
|
38
38
|
name: StrictStr = Field(description="A unique name for this remote.")
|
|
39
39
|
url: StrictStr = Field(description="The URL of an external content source.")
|
|
40
|
+
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
|
|
41
|
+
policy: Optional[PolicyEnum] = Field(default=None, description="The policy to use when downloading content. * `immediate` - When syncing, download all metadata and content now.")
|
|
42
|
+
hidden_fields: Optional[List[AnsibleCollectionRemoteResponseHiddenFieldsInner]] = Field(default=None, description="List of hidden (write only) fields")
|
|
40
43
|
ca_cert: Optional[StrictStr] = Field(default=None, description="A PEM encoded CA certificate used to validate the server certificate presented by the remote server.")
|
|
41
44
|
client_cert: Optional[StrictStr] = Field(default=None, description="A PEM encoded client certificate used for authentication.")
|
|
42
45
|
tls_validation: Optional[StrictBool] = Field(default=None, description="If True, TLS peer validation must be performed.")
|
|
43
46
|
proxy_url: Optional[StrictStr] = Field(default=None, description="The proxy URL. Format: scheme://host:port")
|
|
44
|
-
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
|
|
45
|
-
download_concurrency: Optional[StrictInt] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
|
|
46
47
|
max_retries: Optional[StrictInt] = Field(default=None, description="Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.")
|
|
47
|
-
policy: Optional[PolicyEnum] = Field(default=None, description="The policy to use when downloading content. * `immediate` - When syncing, download all metadata and content now.")
|
|
48
48
|
total_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
|
|
49
49
|
connect_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
|
|
50
50
|
sock_connect_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
|
|
51
51
|
sock_read_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
|
|
52
52
|
headers: Optional[List[Dict[str, Any]]] = Field(default=None, description="Headers for aiohttp.Clientsession")
|
|
53
|
+
download_concurrency: Optional[StrictInt] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
|
|
53
54
|
rate_limit: Optional[StrictInt] = Field(default=None, description="Limits requests per second for each concurrent downloader")
|
|
54
|
-
hidden_fields: Optional[List[AnsibleCollectionRemoteResponseHiddenFieldsInner]] = Field(default=None, description="List of hidden (write only) fields")
|
|
55
55
|
requirements_file: Optional[StrictStr] = Field(default=None, description="The string version of Collection requirements yaml.")
|
|
56
56
|
auth_url: Optional[StrictStr] = Field(default=None, description="The URL to receive a session token from, e.g. used with Automation Hub.")
|
|
57
57
|
sync_dependencies: Optional[StrictBool] = Field(default=None, description="Sync dependencies for collections specified via requirements file")
|
|
58
58
|
signed_only: Optional[StrictBool] = Field(default=None, description="Sync only collections that have a signature")
|
|
59
59
|
last_sync_task: Optional[StrictStr] = None
|
|
60
|
-
__properties: ClassVar[List[str]] = ["pulp_href", "prn", "pulp_created", "pulp_last_updated", "name", "url", "
|
|
60
|
+
__properties: ClassVar[List[str]] = ["pulp_href", "prn", "pulp_created", "pulp_last_updated", "name", "url", "pulp_labels", "policy", "hidden_fields", "ca_cert", "client_cert", "tls_validation", "proxy_url", "max_retries", "total_timeout", "connect_timeout", "sock_connect_timeout", "sock_read_timeout", "headers", "download_concurrency", "rate_limit", "requirements_file", "auth_url", "sync_dependencies", "signed_only", "last_sync_task"]
|
|
61
61
|
|
|
62
62
|
model_config = ConfigDict(
|
|
63
63
|
populate_by_name=True,
|
|
@@ -130,11 +130,6 @@ class AnsibleCollectionRemoteResponse(BaseModel):
|
|
|
130
130
|
if self.proxy_url is None and "proxy_url" in self.model_fields_set:
|
|
131
131
|
_dict['proxy_url'] = None
|
|
132
132
|
|
|
133
|
-
# set to None if download_concurrency (nullable) is None
|
|
134
|
-
# and model_fields_set contains the field
|
|
135
|
-
if self.download_concurrency is None and "download_concurrency" in self.model_fields_set:
|
|
136
|
-
_dict['download_concurrency'] = None
|
|
137
|
-
|
|
138
133
|
# set to None if max_retries (nullable) is None
|
|
139
134
|
# and model_fields_set contains the field
|
|
140
135
|
if self.max_retries is None and "max_retries" in self.model_fields_set:
|
|
@@ -160,6 +155,11 @@ class AnsibleCollectionRemoteResponse(BaseModel):
|
|
|
160
155
|
if self.sock_read_timeout is None and "sock_read_timeout" in self.model_fields_set:
|
|
161
156
|
_dict['sock_read_timeout'] = None
|
|
162
157
|
|
|
158
|
+
# set to None if download_concurrency (nullable) is None
|
|
159
|
+
# and model_fields_set contains the field
|
|
160
|
+
if self.download_concurrency is None and "download_concurrency" in self.model_fields_set:
|
|
161
|
+
_dict['download_concurrency'] = None
|
|
162
|
+
|
|
163
163
|
# set to None if rate_limit (nullable) is None
|
|
164
164
|
# and model_fields_set contains the field
|
|
165
165
|
if self.rate_limit is None and "rate_limit" in self.model_fields_set:
|