crc-pulpcore-client 20250819.1__py3-none-any.whl → 20250821.1__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.
Potentially problematic release.
This version of crc-pulpcore-client might be problematic. Click here for more details.
- crc-pulpcore-client/api_client.py +1 -1
- crc-pulpcore-client/configuration.py +3 -3
- crc-pulpcore-client/models/artifact_distribution_response.py +13 -13
- {crc_pulpcore_client-20250819.1.dist-info → crc_pulpcore_client-20250821.1.dist-info}/METADATA +1 -1
- crc_pulpcore_client-20250821.1.dist-info/RECORD +234 -0
- crc_pulpcore_client-20250821.1.dist-info/top_level.txt +1 -0
- crc_pulpcore_client-20250819.1.dist-info/RECORD +0 -464
- crc_pulpcore_client-20250819.1.dist-info/top_level.txt +0 -2
- services-pulpcore-client/__init__.py +0 -2
- services-pulpcore-client/api/__init__.py +0 -53
- services-pulpcore-client/api/access_policies_api.py +0 -1864
- services-pulpcore-client/api/artifacts_api.py +0 -1615
- services-pulpcore-client/api/content_api.py +0 -598
- services-pulpcore-client/api/content_openpgp_publickey_api.py +0 -1887
- services-pulpcore-client/api/content_openpgp_publicsubkey_api.py +0 -1518
- services-pulpcore-client/api/content_openpgp_signature_api.py +0 -1518
- services-pulpcore-client/api/content_openpgp_userattribute_api.py +0 -1518
- services-pulpcore-client/api/content_openpgp_userid_api.py +0 -1655
- services-pulpcore-client/api/contentguards_api.py +0 -667
- services-pulpcore-client/api/contentguards_composite_api.py +0 -3401
- services-pulpcore-client/api/contentguards_content_redirect_api.py +0 -3401
- services-pulpcore-client/api/contentguards_header_api.py +0 -3401
- services-pulpcore-client/api/contentguards_rbac_api.py +0 -3401
- services-pulpcore-client/api/distributions_api.py +0 -822
- services-pulpcore-client/api/distributions_artifacts_api.py +0 -1103
- services-pulpcore-client/api/distributions_openpgp_api.py +0 -2676
- services-pulpcore-client/api/domains_api.py +0 -3106
- services-pulpcore-client/api/exporters_filesystem_api.py +0 -2157
- services-pulpcore-client/api/exporters_filesystem_exports_api.py +0 -1288
- services-pulpcore-client/api/exporters_pulp_api.py +0 -2157
- services-pulpcore-client/api/exporters_pulp_exports_api.py +0 -1288
- services-pulpcore-client/api/groups_api.py +0 -3368
- services-pulpcore-client/api/groups_roles_api.py +0 -1496
- services-pulpcore-client/api/groups_users_api.py +0 -972
- services-pulpcore-client/api/importers_pulp_api.py +0 -2149
- services-pulpcore-client/api/importers_pulp_import_check_api.py +0 -350
- services-pulpcore-client/api/importers_pulp_imports_api.py +0 -1288
- services-pulpcore-client/api/livez_api.py +0 -329
- services-pulpcore-client/api/login_api.py +0 -897
- services-pulpcore-client/api/orphans_api.py +0 -319
- services-pulpcore-client/api/orphans_cleanup_api.py +0 -350
- services-pulpcore-client/api/publications_api.py +0 -765
- services-pulpcore-client/api/remotes_api.py +0 -850
- services-pulpcore-client/api/repair_api.py +0 -350
- services-pulpcore-client/api/repositories_api.py +0 -872
- services-pulpcore-client/api/repositories_openpgp_keyring_api.py +0 -4546
- services-pulpcore-client/api/repositories_reclaim_space_api.py +0 -350
- services-pulpcore-client/api/repository_versions_api.py +0 -764
- services-pulpcore-client/api/roles_api.py +0 -2269
- services-pulpcore-client/api/signing_services_api.py +0 -811
- services-pulpcore-client/api/status_api.py +0 -337
- services-pulpcore-client/api/task_groups_api.py +0 -1012
- services-pulpcore-client/api/task_schedules_api.py +0 -2114
- services-pulpcore-client/api/tasks_api.py +0 -4299
- services-pulpcore-client/api/uploads_api.py +0 -3346
- services-pulpcore-client/api/upstream_pulps_api.py +0 -4001
- services-pulpcore-client/api/users_api.py +0 -2373
- services-pulpcore-client/api/users_roles_api.py +0 -1496
- services-pulpcore-client/api/workers_api.py +0 -1148
- services-pulpcore-client/api_client.py +0 -798
- services-pulpcore-client/api_response.py +0 -21
- services-pulpcore-client/configuration.py +0 -628
- services-pulpcore-client/exceptions.py +0 -200
- services-pulpcore-client/models/__init__.py +0 -189
- services-pulpcore-client/models/access_policy.py +0 -94
- services-pulpcore-client/models/access_policy_response.py +0 -119
- services-pulpcore-client/models/api_app_status_response.py +0 -99
- services-pulpcore-client/models/artifact_distribution_response.py +0 -126
- services-pulpcore-client/models/artifact_response.py +0 -149
- services-pulpcore-client/models/async_operation_response.py +0 -88
- services-pulpcore-client/models/composite_content_guard.py +0 -98
- services-pulpcore-client/models/composite_content_guard_response.py +0 -114
- services-pulpcore-client/models/content_app_status_response.py +0 -99
- services-pulpcore-client/models/content_guard_response.py +0 -112
- services-pulpcore-client/models/content_redirect_content_guard.py +0 -96
- services-pulpcore-client/models/content_redirect_content_guard_response.py +0 -112
- services-pulpcore-client/models/content_settings_response.py +0 -95
- services-pulpcore-client/models/content_summary_response.py +0 -92
- services-pulpcore-client/models/database_connection_response.py +0 -88
- services-pulpcore-client/models/distribution_response.py +0 -133
- services-pulpcore-client/models/domain.py +0 -114
- services-pulpcore-client/models/domain_backend_migrator.py +0 -91
- services-pulpcore-client/models/domain_response.py +0 -131
- services-pulpcore-client/models/evaluation_response.py +0 -92
- services-pulpcore-client/models/filesystem_export.py +0 -99
- services-pulpcore-client/models/filesystem_export_response.py +0 -118
- services-pulpcore-client/models/filesystem_exporter.py +0 -94
- services-pulpcore-client/models/filesystem_exporter_response.py +0 -110
- services-pulpcore-client/models/generic_remote_response.py +0 -199
- services-pulpcore-client/models/generic_remote_response_hidden_fields_inner.py +0 -90
- services-pulpcore-client/models/generic_remote_response_policy_enum.py +0 -39
- services-pulpcore-client/models/group.py +0 -89
- services-pulpcore-client/models/group_progress_report_response.py +0 -111
- services-pulpcore-client/models/group_response.py +0 -101
- services-pulpcore-client/models/group_role.py +0 -110
- services-pulpcore-client/models/group_role_response.py +0 -134
- services-pulpcore-client/models/group_user.py +0 -89
- services-pulpcore-client/models/group_user_response.py +0 -97
- services-pulpcore-client/models/header_content_guard.py +0 -107
- services-pulpcore-client/models/header_content_guard_response.py +0 -123
- services-pulpcore-client/models/import_response.py +0 -107
- services-pulpcore-client/models/login_response.py +0 -98
- services-pulpcore-client/models/method_enum.py +0 -39
- services-pulpcore-client/models/minimal_task_response.py +0 -125
- services-pulpcore-client/models/multiple_artifact_content_response.py +0 -107
- services-pulpcore-client/models/my_permissions_response.py +0 -88
- services-pulpcore-client/models/nested_open_pgp_public_subkey.py +0 -92
- services-pulpcore-client/models/nested_open_pgp_public_subkey_response.py +0 -104
- services-pulpcore-client/models/nested_open_pgp_signature.py +0 -120
- services-pulpcore-client/models/nested_open_pgp_signature_response.py +0 -124
- services-pulpcore-client/models/nested_open_pgp_user_attribute.py +0 -89
- services-pulpcore-client/models/nested_open_pgp_user_attribute_response.py +0 -101
- services-pulpcore-client/models/nested_open_pgp_user_id.py +0 -89
- services-pulpcore-client/models/nested_open_pgp_user_id_response.py +0 -100
- services-pulpcore-client/models/nested_role.py +0 -93
- services-pulpcore-client/models/nested_role_response.py +0 -92
- services-pulpcore-client/models/object_roles_response.py +0 -96
- services-pulpcore-client/models/open_pgp_distribution.py +0 -116
- services-pulpcore-client/models/open_pgp_distribution_response.py +0 -140
- services-pulpcore-client/models/open_pgp_keyring.py +0 -112
- services-pulpcore-client/models/open_pgp_keyring_response.py +0 -137
- services-pulpcore-client/models/open_pgp_public_key_response.py +0 -150
- services-pulpcore-client/models/open_pgp_public_subkey_response.py +0 -126
- services-pulpcore-client/models/open_pgp_signature_response.py +0 -146
- services-pulpcore-client/models/open_pgp_user_attribute_response.py +0 -124
- services-pulpcore-client/models/open_pgp_user_id_response.py +0 -123
- services-pulpcore-client/models/orphans_cleanup.py +0 -96
- services-pulpcore-client/models/paginated_access_policy_response_list.py +0 -112
- services-pulpcore-client/models/paginated_artifact_distribution_response_list.py +0 -112
- services-pulpcore-client/models/paginated_artifact_response_list.py +0 -112
- services-pulpcore-client/models/paginated_composite_content_guard_response_list.py +0 -112
- services-pulpcore-client/models/paginated_content_guard_response_list.py +0 -112
- services-pulpcore-client/models/paginated_content_redirect_content_guard_response_list.py +0 -112
- services-pulpcore-client/models/paginated_distribution_response_list.py +0 -112
- services-pulpcore-client/models/paginated_domain_response_list.py +0 -112
- services-pulpcore-client/models/paginated_filesystem_export_response_list.py +0 -112
- services-pulpcore-client/models/paginated_filesystem_exporter_response_list.py +0 -112
- services-pulpcore-client/models/paginated_generic_remote_response_list.py +0 -112
- services-pulpcore-client/models/paginated_group_response_list.py +0 -112
- services-pulpcore-client/models/paginated_group_role_response_list.py +0 -112
- services-pulpcore-client/models/paginated_group_user_response_list.py +0 -112
- services-pulpcore-client/models/paginated_header_content_guard_response_list.py +0 -112
- services-pulpcore-client/models/paginated_import_response_list.py +0 -112
- services-pulpcore-client/models/paginated_multiple_artifact_content_response_list.py +0 -112
- services-pulpcore-client/models/paginated_open_pgp_distribution_response_list.py +0 -112
- services-pulpcore-client/models/paginated_open_pgp_keyring_response_list.py +0 -112
- services-pulpcore-client/models/paginated_open_pgp_public_key_response_list.py +0 -112
- services-pulpcore-client/models/paginated_open_pgp_public_subkey_response_list.py +0 -112
- services-pulpcore-client/models/paginated_open_pgp_signature_response_list.py +0 -112
- services-pulpcore-client/models/paginated_open_pgp_user_attribute_response_list.py +0 -112
- services-pulpcore-client/models/paginated_open_pgp_user_id_response_list.py +0 -112
- services-pulpcore-client/models/paginated_publication_response_list.py +0 -112
- services-pulpcore-client/models/paginated_pulp_export_response_list.py +0 -112
- services-pulpcore-client/models/paginated_pulp_exporter_response_list.py +0 -112
- services-pulpcore-client/models/paginated_pulp_importer_response_list.py +0 -112
- services-pulpcore-client/models/paginated_rbac_content_guard_response_list.py +0 -112
- services-pulpcore-client/models/paginated_repository_response_list.py +0 -112
- services-pulpcore-client/models/paginated_repository_version_response_list.py +0 -112
- services-pulpcore-client/models/paginated_role_response_list.py +0 -112
- services-pulpcore-client/models/paginated_signing_service_response_list.py +0 -112
- services-pulpcore-client/models/paginated_task_group_response_list.py +0 -112
- services-pulpcore-client/models/paginated_task_response_list.py +0 -112
- services-pulpcore-client/models/paginated_task_schedule_response_list.py +0 -112
- services-pulpcore-client/models/paginated_upload_response_list.py +0 -112
- services-pulpcore-client/models/paginated_upstream_pulp_response_list.py +0 -112
- services-pulpcore-client/models/paginated_user_response_list.py +0 -112
- services-pulpcore-client/models/paginated_user_role_response_list.py +0 -112
- services-pulpcore-client/models/paginated_worker_response_list.py +0 -112
- services-pulpcore-client/models/patched_access_policy.py +0 -94
- services-pulpcore-client/models/patched_composite_content_guard.py +0 -98
- services-pulpcore-client/models/patched_content_redirect_content_guard.py +0 -96
- services-pulpcore-client/models/patched_domain.py +0 -117
- services-pulpcore-client/models/patched_filesystem_exporter.py +0 -94
- services-pulpcore-client/models/patched_group.py +0 -89
- services-pulpcore-client/models/patched_header_content_guard.py +0 -107
- services-pulpcore-client/models/patched_open_pgp_distribution.py +0 -116
- services-pulpcore-client/models/patched_open_pgp_keyring.py +0 -112
- services-pulpcore-client/models/patched_pulp_exporter.py +0 -100
- services-pulpcore-client/models/patched_pulp_importer.py +0 -91
- services-pulpcore-client/models/patched_rbac_content_guard.py +0 -96
- services-pulpcore-client/models/patched_role.py +0 -98
- services-pulpcore-client/models/patched_task_cancel.py +0 -89
- services-pulpcore-client/models/patched_upstream_pulp.py +0 -147
- services-pulpcore-client/models/patched_user.py +0 -106
- services-pulpcore-client/models/policy357_enum.py +0 -39
- services-pulpcore-client/models/profile_artifact_response.py +0 -88
- services-pulpcore-client/models/progress_report_response.py +0 -115
- services-pulpcore-client/models/publication_response.py +0 -107
- services-pulpcore-client/models/pulp_export.py +0 -104
- services-pulpcore-client/models/pulp_export_response.py +0 -126
- services-pulpcore-client/models/pulp_exporter.py +0 -100
- services-pulpcore-client/models/pulp_exporter_response.py +0 -116
- services-pulpcore-client/models/pulp_import.py +0 -93
- services-pulpcore-client/models/pulp_import_check.py +0 -93
- services-pulpcore-client/models/pulp_import_check_response.py +0 -102
- services-pulpcore-client/models/pulp_importer.py +0 -91
- services-pulpcore-client/models/pulp_importer_response.py +0 -107
- services-pulpcore-client/models/purge.py +0 -92
- services-pulpcore-client/models/rbac_content_guard.py +0 -96
- services-pulpcore-client/models/rbac_content_guard_response.py +0 -136
- services-pulpcore-client/models/reclaim_space.py +0 -90
- services-pulpcore-client/models/redis_connection_response.py +0 -88
- services-pulpcore-client/models/repair.py +0 -88
- services-pulpcore-client/models/repository_add_remove_content.py +0 -93
- services-pulpcore-client/models/repository_response.py +0 -137
- services-pulpcore-client/models/repository_version_response.py +0 -121
- services-pulpcore-client/models/role.py +0 -98
- services-pulpcore-client/models/role_response.py +0 -118
- services-pulpcore-client/models/set_label.py +0 -103
- services-pulpcore-client/models/set_label_response.py +0 -103
- services-pulpcore-client/models/signing_service_response.py +0 -111
- services-pulpcore-client/models/states_enum.py +0 -40
- services-pulpcore-client/models/status_response.py +0 -152
- services-pulpcore-client/models/storage_class_enum.py +0 -40
- services-pulpcore-client/models/storage_response.py +0 -108
- services-pulpcore-client/models/task_group_operation_response.py +0 -88
- services-pulpcore-client/models/task_group_response.py +0 -150
- services-pulpcore-client/models/task_response.py +0 -167
- services-pulpcore-client/models/task_schedule_response.py +0 -127
- services-pulpcore-client/models/unset_label.py +0 -96
- services-pulpcore-client/models/unset_label_response.py +0 -100
- services-pulpcore-client/models/upload.py +0 -88
- services-pulpcore-client/models/upload_chunk_response.py +0 -94
- services-pulpcore-client/models/upload_commit.py +0 -89
- services-pulpcore-client/models/upload_detail_response.py +0 -121
- services-pulpcore-client/models/upload_response.py +0 -109
- services-pulpcore-client/models/upstream_pulp.py +0 -147
- services-pulpcore-client/models/upstream_pulp_response.py +0 -158
- services-pulpcore-client/models/user.py +0 -106
- services-pulpcore-client/models/user_group.py +0 -89
- services-pulpcore-client/models/user_group_response.py +0 -97
- services-pulpcore-client/models/user_response.py +0 -140
- services-pulpcore-client/models/user_role.py +0 -110
- services-pulpcore-client/models/user_role_response.py +0 -134
- services-pulpcore-client/models/version_response.py +0 -96
- services-pulpcore-client/models/worker_response.py +0 -119
- services-pulpcore-client/py.typed +0 -0
- services-pulpcore-client/rest.py +0 -258
- {crc_pulpcore_client-20250819.1.dist-info → crc_pulpcore_client-20250821.1.dist-info}/WHEEL +0 -0
|
@@ -1,1288 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Pulp 3 API
|
|
5
|
-
|
|
6
|
-
Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
|
-
|
|
8
|
-
The version of the OpenAPI document: v3
|
|
9
|
-
Contact: pulp-list@redhat.com
|
|
10
|
-
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
|
-
|
|
12
|
-
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
14
|
-
|
|
15
|
-
import warnings
|
|
16
|
-
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
17
|
-
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
18
|
-
from typing_extensions import Annotated
|
|
19
|
-
|
|
20
|
-
from pydantic import Field, StrictInt, StrictStr
|
|
21
|
-
from typing import List, Optional
|
|
22
|
-
from typing_extensions import Annotated
|
|
23
|
-
from services-pulpcore-client.models.async_operation_response import AsyncOperationResponse
|
|
24
|
-
from services-pulpcore-client.models.filesystem_export import FilesystemExport
|
|
25
|
-
from services-pulpcore-client.models.filesystem_export_response import FilesystemExportResponse
|
|
26
|
-
from services-pulpcore-client.models.paginated_filesystem_export_response_list import PaginatedFilesystemExportResponseList
|
|
27
|
-
|
|
28
|
-
from services-pulpcore-client.api_client import ApiClient, RequestSerialized
|
|
29
|
-
from services-pulpcore-client.api_response import ApiResponse
|
|
30
|
-
from services-pulpcore-client.rest import RESTResponseType
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
class ExportersFilesystemExportsApi:
|
|
34
|
-
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
35
|
-
Ref: https://openapi-generator.tech
|
|
36
|
-
|
|
37
|
-
Do not edit the class manually.
|
|
38
|
-
"""
|
|
39
|
-
|
|
40
|
-
def __init__(self, api_client=None) -> None:
|
|
41
|
-
if api_client is None:
|
|
42
|
-
api_client = ApiClient.get_default()
|
|
43
|
-
self.api_client = api_client
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
@validate_call
|
|
47
|
-
def create(
|
|
48
|
-
self,
|
|
49
|
-
filesystem_exporter_href: StrictStr,
|
|
50
|
-
filesystem_export: FilesystemExport,
|
|
51
|
-
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
52
|
-
_request_timeout: Union[
|
|
53
|
-
None,
|
|
54
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
55
|
-
Tuple[
|
|
56
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
57
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
58
|
-
]
|
|
59
|
-
] = None,
|
|
60
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
61
|
-
_content_type: Optional[StrictStr] = None,
|
|
62
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
63
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
64
|
-
) -> AsyncOperationResponse:
|
|
65
|
-
"""Create a filesystem export
|
|
66
|
-
|
|
67
|
-
Trigger an asynchronous task to export files to the filesystem
|
|
68
|
-
|
|
69
|
-
:param filesystem_exporter_href: (required)
|
|
70
|
-
:type filesystem_exporter_href: str
|
|
71
|
-
:param filesystem_export: (required)
|
|
72
|
-
:type filesystem_export: FilesystemExport
|
|
73
|
-
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
74
|
-
:type x_task_diagnostics: List[str]
|
|
75
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
76
|
-
number provided, it will be total request
|
|
77
|
-
timeout. It can also be a pair (tuple) of
|
|
78
|
-
(connection, read) timeouts.
|
|
79
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
80
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
81
|
-
request; this effectively ignores the
|
|
82
|
-
authentication in the spec for a single request.
|
|
83
|
-
:type _request_auth: dict, optional
|
|
84
|
-
:param _content_type: force content-type for the request.
|
|
85
|
-
:type _content_type: str, Optional
|
|
86
|
-
:param _headers: set to override the headers for a single
|
|
87
|
-
request; this effectively ignores the headers
|
|
88
|
-
in the spec for a single request.
|
|
89
|
-
:type _headers: dict, optional
|
|
90
|
-
:param _host_index: set to override the host_index for a single
|
|
91
|
-
request; this effectively ignores the host_index
|
|
92
|
-
in the spec for a single request.
|
|
93
|
-
:type _host_index: int, optional
|
|
94
|
-
:return: Returns the result object.
|
|
95
|
-
""" # noqa: E501
|
|
96
|
-
|
|
97
|
-
_param = self._create_serialize(
|
|
98
|
-
filesystem_exporter_href=filesystem_exporter_href,
|
|
99
|
-
filesystem_export=filesystem_export,
|
|
100
|
-
x_task_diagnostics=x_task_diagnostics,
|
|
101
|
-
_request_auth=_request_auth,
|
|
102
|
-
_content_type=_content_type,
|
|
103
|
-
_headers=_headers,
|
|
104
|
-
_host_index=_host_index
|
|
105
|
-
)
|
|
106
|
-
|
|
107
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
108
|
-
'202': "AsyncOperationResponse",
|
|
109
|
-
}
|
|
110
|
-
response_data = self.api_client.call_api(
|
|
111
|
-
*_param,
|
|
112
|
-
_request_timeout=_request_timeout
|
|
113
|
-
)
|
|
114
|
-
response_data.read()
|
|
115
|
-
return self.api_client.response_deserialize(
|
|
116
|
-
response_data=response_data,
|
|
117
|
-
response_types_map=_response_types_map,
|
|
118
|
-
).data
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
@validate_call
|
|
122
|
-
def create_with_http_info(
|
|
123
|
-
self,
|
|
124
|
-
filesystem_exporter_href: StrictStr,
|
|
125
|
-
filesystem_export: FilesystemExport,
|
|
126
|
-
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
127
|
-
_request_timeout: Union[
|
|
128
|
-
None,
|
|
129
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
130
|
-
Tuple[
|
|
131
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
132
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
133
|
-
]
|
|
134
|
-
] = None,
|
|
135
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
136
|
-
_content_type: Optional[StrictStr] = None,
|
|
137
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
138
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
139
|
-
) -> ApiResponse[AsyncOperationResponse]:
|
|
140
|
-
"""Create a filesystem export
|
|
141
|
-
|
|
142
|
-
Trigger an asynchronous task to export files to the filesystem
|
|
143
|
-
|
|
144
|
-
:param filesystem_exporter_href: (required)
|
|
145
|
-
:type filesystem_exporter_href: str
|
|
146
|
-
:param filesystem_export: (required)
|
|
147
|
-
:type filesystem_export: FilesystemExport
|
|
148
|
-
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
149
|
-
:type x_task_diagnostics: List[str]
|
|
150
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
151
|
-
number provided, it will be total request
|
|
152
|
-
timeout. It can also be a pair (tuple) of
|
|
153
|
-
(connection, read) timeouts.
|
|
154
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
155
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
156
|
-
request; this effectively ignores the
|
|
157
|
-
authentication in the spec for a single request.
|
|
158
|
-
:type _request_auth: dict, optional
|
|
159
|
-
:param _content_type: force content-type for the request.
|
|
160
|
-
:type _content_type: str, Optional
|
|
161
|
-
:param _headers: set to override the headers for a single
|
|
162
|
-
request; this effectively ignores the headers
|
|
163
|
-
in the spec for a single request.
|
|
164
|
-
:type _headers: dict, optional
|
|
165
|
-
:param _host_index: set to override the host_index for a single
|
|
166
|
-
request; this effectively ignores the host_index
|
|
167
|
-
in the spec for a single request.
|
|
168
|
-
:type _host_index: int, optional
|
|
169
|
-
:return: Returns the result object.
|
|
170
|
-
""" # noqa: E501
|
|
171
|
-
|
|
172
|
-
_param = self._create_serialize(
|
|
173
|
-
filesystem_exporter_href=filesystem_exporter_href,
|
|
174
|
-
filesystem_export=filesystem_export,
|
|
175
|
-
x_task_diagnostics=x_task_diagnostics,
|
|
176
|
-
_request_auth=_request_auth,
|
|
177
|
-
_content_type=_content_type,
|
|
178
|
-
_headers=_headers,
|
|
179
|
-
_host_index=_host_index
|
|
180
|
-
)
|
|
181
|
-
|
|
182
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
183
|
-
'202': "AsyncOperationResponse",
|
|
184
|
-
}
|
|
185
|
-
response_data = self.api_client.call_api(
|
|
186
|
-
*_param,
|
|
187
|
-
_request_timeout=_request_timeout
|
|
188
|
-
)
|
|
189
|
-
response_data.read()
|
|
190
|
-
return self.api_client.response_deserialize(
|
|
191
|
-
response_data=response_data,
|
|
192
|
-
response_types_map=_response_types_map,
|
|
193
|
-
)
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
@validate_call
|
|
197
|
-
def create_without_preload_content(
|
|
198
|
-
self,
|
|
199
|
-
filesystem_exporter_href: StrictStr,
|
|
200
|
-
filesystem_export: FilesystemExport,
|
|
201
|
-
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
202
|
-
_request_timeout: Union[
|
|
203
|
-
None,
|
|
204
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
205
|
-
Tuple[
|
|
206
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
207
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
208
|
-
]
|
|
209
|
-
] = None,
|
|
210
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
211
|
-
_content_type: Optional[StrictStr] = None,
|
|
212
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
213
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
214
|
-
) -> RESTResponseType:
|
|
215
|
-
"""Create a filesystem export
|
|
216
|
-
|
|
217
|
-
Trigger an asynchronous task to export files to the filesystem
|
|
218
|
-
|
|
219
|
-
:param filesystem_exporter_href: (required)
|
|
220
|
-
:type filesystem_exporter_href: str
|
|
221
|
-
:param filesystem_export: (required)
|
|
222
|
-
:type filesystem_export: FilesystemExport
|
|
223
|
-
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
224
|
-
:type x_task_diagnostics: List[str]
|
|
225
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
226
|
-
number provided, it will be total request
|
|
227
|
-
timeout. It can also be a pair (tuple) of
|
|
228
|
-
(connection, read) timeouts.
|
|
229
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
230
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
231
|
-
request; this effectively ignores the
|
|
232
|
-
authentication in the spec for a single request.
|
|
233
|
-
:type _request_auth: dict, optional
|
|
234
|
-
:param _content_type: force content-type for the request.
|
|
235
|
-
:type _content_type: str, Optional
|
|
236
|
-
:param _headers: set to override the headers for a single
|
|
237
|
-
request; this effectively ignores the headers
|
|
238
|
-
in the spec for a single request.
|
|
239
|
-
:type _headers: dict, optional
|
|
240
|
-
:param _host_index: set to override the host_index for a single
|
|
241
|
-
request; this effectively ignores the host_index
|
|
242
|
-
in the spec for a single request.
|
|
243
|
-
:type _host_index: int, optional
|
|
244
|
-
:return: Returns the result object.
|
|
245
|
-
""" # noqa: E501
|
|
246
|
-
|
|
247
|
-
_param = self._create_serialize(
|
|
248
|
-
filesystem_exporter_href=filesystem_exporter_href,
|
|
249
|
-
filesystem_export=filesystem_export,
|
|
250
|
-
x_task_diagnostics=x_task_diagnostics,
|
|
251
|
-
_request_auth=_request_auth,
|
|
252
|
-
_content_type=_content_type,
|
|
253
|
-
_headers=_headers,
|
|
254
|
-
_host_index=_host_index
|
|
255
|
-
)
|
|
256
|
-
|
|
257
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
258
|
-
'202': "AsyncOperationResponse",
|
|
259
|
-
}
|
|
260
|
-
response_data = self.api_client.call_api(
|
|
261
|
-
*_param,
|
|
262
|
-
_request_timeout=_request_timeout
|
|
263
|
-
)
|
|
264
|
-
return response_data.response
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
def _create_serialize(
|
|
268
|
-
self,
|
|
269
|
-
filesystem_exporter_href,
|
|
270
|
-
filesystem_export,
|
|
271
|
-
x_task_diagnostics,
|
|
272
|
-
_request_auth,
|
|
273
|
-
_content_type,
|
|
274
|
-
_headers,
|
|
275
|
-
_host_index,
|
|
276
|
-
) -> RequestSerialized:
|
|
277
|
-
|
|
278
|
-
_host = None
|
|
279
|
-
|
|
280
|
-
_collection_formats: Dict[str, str] = {
|
|
281
|
-
'X-Task-Diagnostics': 'csv',
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
_path_params: Dict[str, str] = {}
|
|
285
|
-
_query_params: List[Tuple[str, str]] = []
|
|
286
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
287
|
-
_form_params: List[Tuple[str, str]] = []
|
|
288
|
-
_files: Dict[
|
|
289
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
290
|
-
] = {}
|
|
291
|
-
_body_params: Optional[bytes] = None
|
|
292
|
-
|
|
293
|
-
# process the path parameters
|
|
294
|
-
if filesystem_exporter_href is not None:
|
|
295
|
-
_path_params['filesystem_exporter_href'] = filesystem_exporter_href
|
|
296
|
-
# process the query parameters
|
|
297
|
-
# process the header parameters
|
|
298
|
-
if x_task_diagnostics is not None:
|
|
299
|
-
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
300
|
-
# process the form parameters
|
|
301
|
-
# process the body parameter
|
|
302
|
-
if filesystem_export is not None:
|
|
303
|
-
_body_params = filesystem_export
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
# set the HTTP header `Accept`
|
|
307
|
-
if 'Accept' not in _header_params:
|
|
308
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
309
|
-
[
|
|
310
|
-
'application/json'
|
|
311
|
-
]
|
|
312
|
-
)
|
|
313
|
-
|
|
314
|
-
# set the HTTP header `Content-Type`
|
|
315
|
-
if _content_type:
|
|
316
|
-
_header_params['Content-Type'] = _content_type
|
|
317
|
-
else:
|
|
318
|
-
_default_content_type = (
|
|
319
|
-
self.api_client.select_header_content_type(
|
|
320
|
-
[
|
|
321
|
-
'application/json',
|
|
322
|
-
'application/x-www-form-urlencoded',
|
|
323
|
-
'multipart/form-data'
|
|
324
|
-
]
|
|
325
|
-
)
|
|
326
|
-
)
|
|
327
|
-
if _default_content_type is not None:
|
|
328
|
-
_header_params['Content-Type'] = _default_content_type
|
|
329
|
-
|
|
330
|
-
# authentication setting
|
|
331
|
-
_auth_settings: List[str] = [
|
|
332
|
-
'json_header_remote_authentication',
|
|
333
|
-
'basicAuth',
|
|
334
|
-
'cookieAuth'
|
|
335
|
-
]
|
|
336
|
-
|
|
337
|
-
return self.api_client.param_serialize(
|
|
338
|
-
method='POST',
|
|
339
|
-
resource_path='{filesystem_exporter_href}exports/',
|
|
340
|
-
path_params=_path_params,
|
|
341
|
-
query_params=_query_params,
|
|
342
|
-
header_params=_header_params,
|
|
343
|
-
body=_body_params,
|
|
344
|
-
post_params=_form_params,
|
|
345
|
-
files=_files,
|
|
346
|
-
auth_settings=_auth_settings,
|
|
347
|
-
collection_formats=_collection_formats,
|
|
348
|
-
_host=_host,
|
|
349
|
-
_request_auth=_request_auth
|
|
350
|
-
)
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
@validate_call
|
|
356
|
-
def delete(
|
|
357
|
-
self,
|
|
358
|
-
filesystem_filesystem_export_href: StrictStr,
|
|
359
|
-
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
360
|
-
_request_timeout: Union[
|
|
361
|
-
None,
|
|
362
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
363
|
-
Tuple[
|
|
364
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
365
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
366
|
-
]
|
|
367
|
-
] = None,
|
|
368
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
369
|
-
_content_type: Optional[StrictStr] = None,
|
|
370
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
371
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
372
|
-
) -> None:
|
|
373
|
-
"""Delete a filesystem export
|
|
374
|
-
|
|
375
|
-
Endpoint for managing FilesystemExports.
|
|
376
|
-
|
|
377
|
-
:param filesystem_filesystem_export_href: (required)
|
|
378
|
-
:type filesystem_filesystem_export_href: str
|
|
379
|
-
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
380
|
-
:type x_task_diagnostics: List[str]
|
|
381
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
382
|
-
number provided, it will be total request
|
|
383
|
-
timeout. It can also be a pair (tuple) of
|
|
384
|
-
(connection, read) timeouts.
|
|
385
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
386
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
387
|
-
request; this effectively ignores the
|
|
388
|
-
authentication in the spec for a single request.
|
|
389
|
-
:type _request_auth: dict, optional
|
|
390
|
-
:param _content_type: force content-type for the request.
|
|
391
|
-
:type _content_type: str, Optional
|
|
392
|
-
:param _headers: set to override the headers for a single
|
|
393
|
-
request; this effectively ignores the headers
|
|
394
|
-
in the spec for a single request.
|
|
395
|
-
:type _headers: dict, optional
|
|
396
|
-
:param _host_index: set to override the host_index for a single
|
|
397
|
-
request; this effectively ignores the host_index
|
|
398
|
-
in the spec for a single request.
|
|
399
|
-
:type _host_index: int, optional
|
|
400
|
-
:return: Returns the result object.
|
|
401
|
-
""" # noqa: E501
|
|
402
|
-
|
|
403
|
-
_param = self._delete_serialize(
|
|
404
|
-
filesystem_filesystem_export_href=filesystem_filesystem_export_href,
|
|
405
|
-
x_task_diagnostics=x_task_diagnostics,
|
|
406
|
-
_request_auth=_request_auth,
|
|
407
|
-
_content_type=_content_type,
|
|
408
|
-
_headers=_headers,
|
|
409
|
-
_host_index=_host_index
|
|
410
|
-
)
|
|
411
|
-
|
|
412
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
413
|
-
'204': None,
|
|
414
|
-
}
|
|
415
|
-
response_data = self.api_client.call_api(
|
|
416
|
-
*_param,
|
|
417
|
-
_request_timeout=_request_timeout
|
|
418
|
-
)
|
|
419
|
-
response_data.read()
|
|
420
|
-
return self.api_client.response_deserialize(
|
|
421
|
-
response_data=response_data,
|
|
422
|
-
response_types_map=_response_types_map,
|
|
423
|
-
).data
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
@validate_call
|
|
427
|
-
def delete_with_http_info(
|
|
428
|
-
self,
|
|
429
|
-
filesystem_filesystem_export_href: StrictStr,
|
|
430
|
-
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
431
|
-
_request_timeout: Union[
|
|
432
|
-
None,
|
|
433
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
434
|
-
Tuple[
|
|
435
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
436
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
437
|
-
]
|
|
438
|
-
] = None,
|
|
439
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
440
|
-
_content_type: Optional[StrictStr] = None,
|
|
441
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
442
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
443
|
-
) -> ApiResponse[None]:
|
|
444
|
-
"""Delete a filesystem export
|
|
445
|
-
|
|
446
|
-
Endpoint for managing FilesystemExports.
|
|
447
|
-
|
|
448
|
-
:param filesystem_filesystem_export_href: (required)
|
|
449
|
-
:type filesystem_filesystem_export_href: str
|
|
450
|
-
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
451
|
-
:type x_task_diagnostics: List[str]
|
|
452
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
453
|
-
number provided, it will be total request
|
|
454
|
-
timeout. It can also be a pair (tuple) of
|
|
455
|
-
(connection, read) timeouts.
|
|
456
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
457
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
458
|
-
request; this effectively ignores the
|
|
459
|
-
authentication in the spec for a single request.
|
|
460
|
-
:type _request_auth: dict, optional
|
|
461
|
-
:param _content_type: force content-type for the request.
|
|
462
|
-
:type _content_type: str, Optional
|
|
463
|
-
:param _headers: set to override the headers for a single
|
|
464
|
-
request; this effectively ignores the headers
|
|
465
|
-
in the spec for a single request.
|
|
466
|
-
:type _headers: dict, optional
|
|
467
|
-
:param _host_index: set to override the host_index for a single
|
|
468
|
-
request; this effectively ignores the host_index
|
|
469
|
-
in the spec for a single request.
|
|
470
|
-
:type _host_index: int, optional
|
|
471
|
-
:return: Returns the result object.
|
|
472
|
-
""" # noqa: E501
|
|
473
|
-
|
|
474
|
-
_param = self._delete_serialize(
|
|
475
|
-
filesystem_filesystem_export_href=filesystem_filesystem_export_href,
|
|
476
|
-
x_task_diagnostics=x_task_diagnostics,
|
|
477
|
-
_request_auth=_request_auth,
|
|
478
|
-
_content_type=_content_type,
|
|
479
|
-
_headers=_headers,
|
|
480
|
-
_host_index=_host_index
|
|
481
|
-
)
|
|
482
|
-
|
|
483
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
484
|
-
'204': None,
|
|
485
|
-
}
|
|
486
|
-
response_data = self.api_client.call_api(
|
|
487
|
-
*_param,
|
|
488
|
-
_request_timeout=_request_timeout
|
|
489
|
-
)
|
|
490
|
-
response_data.read()
|
|
491
|
-
return self.api_client.response_deserialize(
|
|
492
|
-
response_data=response_data,
|
|
493
|
-
response_types_map=_response_types_map,
|
|
494
|
-
)
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
@validate_call
|
|
498
|
-
def delete_without_preload_content(
|
|
499
|
-
self,
|
|
500
|
-
filesystem_filesystem_export_href: StrictStr,
|
|
501
|
-
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
502
|
-
_request_timeout: Union[
|
|
503
|
-
None,
|
|
504
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
505
|
-
Tuple[
|
|
506
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
507
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
508
|
-
]
|
|
509
|
-
] = None,
|
|
510
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
511
|
-
_content_type: Optional[StrictStr] = None,
|
|
512
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
513
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
514
|
-
) -> RESTResponseType:
|
|
515
|
-
"""Delete a filesystem export
|
|
516
|
-
|
|
517
|
-
Endpoint for managing FilesystemExports.
|
|
518
|
-
|
|
519
|
-
:param filesystem_filesystem_export_href: (required)
|
|
520
|
-
:type filesystem_filesystem_export_href: str
|
|
521
|
-
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
522
|
-
:type x_task_diagnostics: List[str]
|
|
523
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
524
|
-
number provided, it will be total request
|
|
525
|
-
timeout. It can also be a pair (tuple) of
|
|
526
|
-
(connection, read) timeouts.
|
|
527
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
528
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
529
|
-
request; this effectively ignores the
|
|
530
|
-
authentication in the spec for a single request.
|
|
531
|
-
:type _request_auth: dict, optional
|
|
532
|
-
:param _content_type: force content-type for the request.
|
|
533
|
-
:type _content_type: str, Optional
|
|
534
|
-
:param _headers: set to override the headers for a single
|
|
535
|
-
request; this effectively ignores the headers
|
|
536
|
-
in the spec for a single request.
|
|
537
|
-
:type _headers: dict, optional
|
|
538
|
-
:param _host_index: set to override the host_index for a single
|
|
539
|
-
request; this effectively ignores the host_index
|
|
540
|
-
in the spec for a single request.
|
|
541
|
-
:type _host_index: int, optional
|
|
542
|
-
:return: Returns the result object.
|
|
543
|
-
""" # noqa: E501
|
|
544
|
-
|
|
545
|
-
_param = self._delete_serialize(
|
|
546
|
-
filesystem_filesystem_export_href=filesystem_filesystem_export_href,
|
|
547
|
-
x_task_diagnostics=x_task_diagnostics,
|
|
548
|
-
_request_auth=_request_auth,
|
|
549
|
-
_content_type=_content_type,
|
|
550
|
-
_headers=_headers,
|
|
551
|
-
_host_index=_host_index
|
|
552
|
-
)
|
|
553
|
-
|
|
554
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
555
|
-
'204': None,
|
|
556
|
-
}
|
|
557
|
-
response_data = self.api_client.call_api(
|
|
558
|
-
*_param,
|
|
559
|
-
_request_timeout=_request_timeout
|
|
560
|
-
)
|
|
561
|
-
return response_data.response
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
def _delete_serialize(
|
|
565
|
-
self,
|
|
566
|
-
filesystem_filesystem_export_href,
|
|
567
|
-
x_task_diagnostics,
|
|
568
|
-
_request_auth,
|
|
569
|
-
_content_type,
|
|
570
|
-
_headers,
|
|
571
|
-
_host_index,
|
|
572
|
-
) -> RequestSerialized:
|
|
573
|
-
|
|
574
|
-
_host = None
|
|
575
|
-
|
|
576
|
-
_collection_formats: Dict[str, str] = {
|
|
577
|
-
'X-Task-Diagnostics': 'csv',
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
_path_params: Dict[str, str] = {}
|
|
581
|
-
_query_params: List[Tuple[str, str]] = []
|
|
582
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
583
|
-
_form_params: List[Tuple[str, str]] = []
|
|
584
|
-
_files: Dict[
|
|
585
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
586
|
-
] = {}
|
|
587
|
-
_body_params: Optional[bytes] = None
|
|
588
|
-
|
|
589
|
-
# process the path parameters
|
|
590
|
-
if filesystem_filesystem_export_href is not None:
|
|
591
|
-
_path_params['filesystem_filesystem_export_href'] = filesystem_filesystem_export_href
|
|
592
|
-
# process the query parameters
|
|
593
|
-
# process the header parameters
|
|
594
|
-
if x_task_diagnostics is not None:
|
|
595
|
-
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
596
|
-
# process the form parameters
|
|
597
|
-
# process the body parameter
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
# authentication setting
|
|
603
|
-
_auth_settings: List[str] = [
|
|
604
|
-
'json_header_remote_authentication',
|
|
605
|
-
'basicAuth',
|
|
606
|
-
'cookieAuth'
|
|
607
|
-
]
|
|
608
|
-
|
|
609
|
-
return self.api_client.param_serialize(
|
|
610
|
-
method='DELETE',
|
|
611
|
-
resource_path='{filesystem_filesystem_export_href}',
|
|
612
|
-
path_params=_path_params,
|
|
613
|
-
query_params=_query_params,
|
|
614
|
-
header_params=_header_params,
|
|
615
|
-
body=_body_params,
|
|
616
|
-
post_params=_form_params,
|
|
617
|
-
files=_files,
|
|
618
|
-
auth_settings=_auth_settings,
|
|
619
|
-
collection_formats=_collection_formats,
|
|
620
|
-
_host=_host,
|
|
621
|
-
_request_auth=_request_auth
|
|
622
|
-
)
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
@validate_call
|
|
628
|
-
def list(
|
|
629
|
-
self,
|
|
630
|
-
filesystem_exporter_href: StrictStr,
|
|
631
|
-
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
632
|
-
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
633
|
-
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
634
|
-
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
635
|
-
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
636
|
-
_request_timeout: Union[
|
|
637
|
-
None,
|
|
638
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
639
|
-
Tuple[
|
|
640
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
641
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
642
|
-
]
|
|
643
|
-
] = None,
|
|
644
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
645
|
-
_content_type: Optional[StrictStr] = None,
|
|
646
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
647
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
648
|
-
) -> PaginatedFilesystemExportResponseList:
|
|
649
|
-
"""List filesystem exports
|
|
650
|
-
|
|
651
|
-
Endpoint for managing FilesystemExports.
|
|
652
|
-
|
|
653
|
-
:param filesystem_exporter_href: (required)
|
|
654
|
-
:type filesystem_exporter_href: str
|
|
655
|
-
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
656
|
-
:type x_task_diagnostics: List[str]
|
|
657
|
-
:param limit: Number of results to return per page.
|
|
658
|
-
:type limit: int
|
|
659
|
-
:param offset: The initial index from which to return the results.
|
|
660
|
-
:type offset: int
|
|
661
|
-
:param fields: A list of fields to include in the response.
|
|
662
|
-
:type fields: List[str]
|
|
663
|
-
:param exclude_fields: A list of fields to exclude from the response.
|
|
664
|
-
:type exclude_fields: List[str]
|
|
665
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
666
|
-
number provided, it will be total request
|
|
667
|
-
timeout. It can also be a pair (tuple) of
|
|
668
|
-
(connection, read) timeouts.
|
|
669
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
670
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
671
|
-
request; this effectively ignores the
|
|
672
|
-
authentication in the spec for a single request.
|
|
673
|
-
:type _request_auth: dict, optional
|
|
674
|
-
:param _content_type: force content-type for the request.
|
|
675
|
-
:type _content_type: str, Optional
|
|
676
|
-
:param _headers: set to override the headers for a single
|
|
677
|
-
request; this effectively ignores the headers
|
|
678
|
-
in the spec for a single request.
|
|
679
|
-
:type _headers: dict, optional
|
|
680
|
-
:param _host_index: set to override the host_index for a single
|
|
681
|
-
request; this effectively ignores the host_index
|
|
682
|
-
in the spec for a single request.
|
|
683
|
-
:type _host_index: int, optional
|
|
684
|
-
:return: Returns the result object.
|
|
685
|
-
""" # noqa: E501
|
|
686
|
-
|
|
687
|
-
_param = self._list_serialize(
|
|
688
|
-
filesystem_exporter_href=filesystem_exporter_href,
|
|
689
|
-
x_task_diagnostics=x_task_diagnostics,
|
|
690
|
-
limit=limit,
|
|
691
|
-
offset=offset,
|
|
692
|
-
fields=fields,
|
|
693
|
-
exclude_fields=exclude_fields,
|
|
694
|
-
_request_auth=_request_auth,
|
|
695
|
-
_content_type=_content_type,
|
|
696
|
-
_headers=_headers,
|
|
697
|
-
_host_index=_host_index
|
|
698
|
-
)
|
|
699
|
-
|
|
700
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
701
|
-
'200': "PaginatedFilesystemExportResponseList",
|
|
702
|
-
}
|
|
703
|
-
response_data = self.api_client.call_api(
|
|
704
|
-
*_param,
|
|
705
|
-
_request_timeout=_request_timeout
|
|
706
|
-
)
|
|
707
|
-
response_data.read()
|
|
708
|
-
return self.api_client.response_deserialize(
|
|
709
|
-
response_data=response_data,
|
|
710
|
-
response_types_map=_response_types_map,
|
|
711
|
-
).data
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
@validate_call
|
|
715
|
-
def list_with_http_info(
|
|
716
|
-
self,
|
|
717
|
-
filesystem_exporter_href: StrictStr,
|
|
718
|
-
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
719
|
-
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
720
|
-
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
721
|
-
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
722
|
-
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
723
|
-
_request_timeout: Union[
|
|
724
|
-
None,
|
|
725
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
726
|
-
Tuple[
|
|
727
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
728
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
729
|
-
]
|
|
730
|
-
] = None,
|
|
731
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
732
|
-
_content_type: Optional[StrictStr] = None,
|
|
733
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
734
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
735
|
-
) -> ApiResponse[PaginatedFilesystemExportResponseList]:
|
|
736
|
-
"""List filesystem exports
|
|
737
|
-
|
|
738
|
-
Endpoint for managing FilesystemExports.
|
|
739
|
-
|
|
740
|
-
:param filesystem_exporter_href: (required)
|
|
741
|
-
:type filesystem_exporter_href: str
|
|
742
|
-
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
743
|
-
:type x_task_diagnostics: List[str]
|
|
744
|
-
:param limit: Number of results to return per page.
|
|
745
|
-
:type limit: int
|
|
746
|
-
:param offset: The initial index from which to return the results.
|
|
747
|
-
:type offset: int
|
|
748
|
-
:param fields: A list of fields to include in the response.
|
|
749
|
-
:type fields: List[str]
|
|
750
|
-
:param exclude_fields: A list of fields to exclude from the response.
|
|
751
|
-
:type exclude_fields: List[str]
|
|
752
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
753
|
-
number provided, it will be total request
|
|
754
|
-
timeout. It can also be a pair (tuple) of
|
|
755
|
-
(connection, read) timeouts.
|
|
756
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
757
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
758
|
-
request; this effectively ignores the
|
|
759
|
-
authentication in the spec for a single request.
|
|
760
|
-
:type _request_auth: dict, optional
|
|
761
|
-
:param _content_type: force content-type for the request.
|
|
762
|
-
:type _content_type: str, Optional
|
|
763
|
-
:param _headers: set to override the headers for a single
|
|
764
|
-
request; this effectively ignores the headers
|
|
765
|
-
in the spec for a single request.
|
|
766
|
-
:type _headers: dict, optional
|
|
767
|
-
:param _host_index: set to override the host_index for a single
|
|
768
|
-
request; this effectively ignores the host_index
|
|
769
|
-
in the spec for a single request.
|
|
770
|
-
:type _host_index: int, optional
|
|
771
|
-
:return: Returns the result object.
|
|
772
|
-
""" # noqa: E501
|
|
773
|
-
|
|
774
|
-
_param = self._list_serialize(
|
|
775
|
-
filesystem_exporter_href=filesystem_exporter_href,
|
|
776
|
-
x_task_diagnostics=x_task_diagnostics,
|
|
777
|
-
limit=limit,
|
|
778
|
-
offset=offset,
|
|
779
|
-
fields=fields,
|
|
780
|
-
exclude_fields=exclude_fields,
|
|
781
|
-
_request_auth=_request_auth,
|
|
782
|
-
_content_type=_content_type,
|
|
783
|
-
_headers=_headers,
|
|
784
|
-
_host_index=_host_index
|
|
785
|
-
)
|
|
786
|
-
|
|
787
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
788
|
-
'200': "PaginatedFilesystemExportResponseList",
|
|
789
|
-
}
|
|
790
|
-
response_data = self.api_client.call_api(
|
|
791
|
-
*_param,
|
|
792
|
-
_request_timeout=_request_timeout
|
|
793
|
-
)
|
|
794
|
-
response_data.read()
|
|
795
|
-
return self.api_client.response_deserialize(
|
|
796
|
-
response_data=response_data,
|
|
797
|
-
response_types_map=_response_types_map,
|
|
798
|
-
)
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
@validate_call
|
|
802
|
-
def list_without_preload_content(
|
|
803
|
-
self,
|
|
804
|
-
filesystem_exporter_href: StrictStr,
|
|
805
|
-
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
806
|
-
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
807
|
-
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
808
|
-
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
809
|
-
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
810
|
-
_request_timeout: Union[
|
|
811
|
-
None,
|
|
812
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
813
|
-
Tuple[
|
|
814
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
815
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
816
|
-
]
|
|
817
|
-
] = None,
|
|
818
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
819
|
-
_content_type: Optional[StrictStr] = None,
|
|
820
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
821
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
822
|
-
) -> RESTResponseType:
|
|
823
|
-
"""List filesystem exports
|
|
824
|
-
|
|
825
|
-
Endpoint for managing FilesystemExports.
|
|
826
|
-
|
|
827
|
-
:param filesystem_exporter_href: (required)
|
|
828
|
-
:type filesystem_exporter_href: str
|
|
829
|
-
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
830
|
-
:type x_task_diagnostics: List[str]
|
|
831
|
-
:param limit: Number of results to return per page.
|
|
832
|
-
:type limit: int
|
|
833
|
-
:param offset: The initial index from which to return the results.
|
|
834
|
-
:type offset: int
|
|
835
|
-
:param fields: A list of fields to include in the response.
|
|
836
|
-
:type fields: List[str]
|
|
837
|
-
:param exclude_fields: A list of fields to exclude from the response.
|
|
838
|
-
:type exclude_fields: List[str]
|
|
839
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
840
|
-
number provided, it will be total request
|
|
841
|
-
timeout. It can also be a pair (tuple) of
|
|
842
|
-
(connection, read) timeouts.
|
|
843
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
844
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
845
|
-
request; this effectively ignores the
|
|
846
|
-
authentication in the spec for a single request.
|
|
847
|
-
:type _request_auth: dict, optional
|
|
848
|
-
:param _content_type: force content-type for the request.
|
|
849
|
-
:type _content_type: str, Optional
|
|
850
|
-
:param _headers: set to override the headers for a single
|
|
851
|
-
request; this effectively ignores the headers
|
|
852
|
-
in the spec for a single request.
|
|
853
|
-
:type _headers: dict, optional
|
|
854
|
-
:param _host_index: set to override the host_index for a single
|
|
855
|
-
request; this effectively ignores the host_index
|
|
856
|
-
in the spec for a single request.
|
|
857
|
-
:type _host_index: int, optional
|
|
858
|
-
:return: Returns the result object.
|
|
859
|
-
""" # noqa: E501
|
|
860
|
-
|
|
861
|
-
_param = self._list_serialize(
|
|
862
|
-
filesystem_exporter_href=filesystem_exporter_href,
|
|
863
|
-
x_task_diagnostics=x_task_diagnostics,
|
|
864
|
-
limit=limit,
|
|
865
|
-
offset=offset,
|
|
866
|
-
fields=fields,
|
|
867
|
-
exclude_fields=exclude_fields,
|
|
868
|
-
_request_auth=_request_auth,
|
|
869
|
-
_content_type=_content_type,
|
|
870
|
-
_headers=_headers,
|
|
871
|
-
_host_index=_host_index
|
|
872
|
-
)
|
|
873
|
-
|
|
874
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
875
|
-
'200': "PaginatedFilesystemExportResponseList",
|
|
876
|
-
}
|
|
877
|
-
response_data = self.api_client.call_api(
|
|
878
|
-
*_param,
|
|
879
|
-
_request_timeout=_request_timeout
|
|
880
|
-
)
|
|
881
|
-
return response_data.response
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
def _list_serialize(
|
|
885
|
-
self,
|
|
886
|
-
filesystem_exporter_href,
|
|
887
|
-
x_task_diagnostics,
|
|
888
|
-
limit,
|
|
889
|
-
offset,
|
|
890
|
-
fields,
|
|
891
|
-
exclude_fields,
|
|
892
|
-
_request_auth,
|
|
893
|
-
_content_type,
|
|
894
|
-
_headers,
|
|
895
|
-
_host_index,
|
|
896
|
-
) -> RequestSerialized:
|
|
897
|
-
|
|
898
|
-
_host = None
|
|
899
|
-
|
|
900
|
-
_collection_formats: Dict[str, str] = {
|
|
901
|
-
'X-Task-Diagnostics': 'csv',
|
|
902
|
-
'fields': 'multi',
|
|
903
|
-
'exclude_fields': 'multi',
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
_path_params: Dict[str, str] = {}
|
|
907
|
-
_query_params: List[Tuple[str, str]] = []
|
|
908
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
909
|
-
_form_params: List[Tuple[str, str]] = []
|
|
910
|
-
_files: Dict[
|
|
911
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
912
|
-
] = {}
|
|
913
|
-
_body_params: Optional[bytes] = None
|
|
914
|
-
|
|
915
|
-
# process the path parameters
|
|
916
|
-
if filesystem_exporter_href is not None:
|
|
917
|
-
_path_params['filesystem_exporter_href'] = filesystem_exporter_href
|
|
918
|
-
# process the query parameters
|
|
919
|
-
if limit is not None:
|
|
920
|
-
|
|
921
|
-
_query_params.append(('limit', limit))
|
|
922
|
-
|
|
923
|
-
if offset is not None:
|
|
924
|
-
|
|
925
|
-
_query_params.append(('offset', offset))
|
|
926
|
-
|
|
927
|
-
if fields is not None:
|
|
928
|
-
|
|
929
|
-
_query_params.append(('fields', fields))
|
|
930
|
-
|
|
931
|
-
if exclude_fields is not None:
|
|
932
|
-
|
|
933
|
-
_query_params.append(('exclude_fields', exclude_fields))
|
|
934
|
-
|
|
935
|
-
# process the header parameters
|
|
936
|
-
if x_task_diagnostics is not None:
|
|
937
|
-
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
938
|
-
# process the form parameters
|
|
939
|
-
# process the body parameter
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
# set the HTTP header `Accept`
|
|
943
|
-
if 'Accept' not in _header_params:
|
|
944
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
945
|
-
[
|
|
946
|
-
'application/json'
|
|
947
|
-
]
|
|
948
|
-
)
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
# authentication setting
|
|
952
|
-
_auth_settings: List[str] = [
|
|
953
|
-
'json_header_remote_authentication',
|
|
954
|
-
'basicAuth',
|
|
955
|
-
'cookieAuth'
|
|
956
|
-
]
|
|
957
|
-
|
|
958
|
-
return self.api_client.param_serialize(
|
|
959
|
-
method='GET',
|
|
960
|
-
resource_path='{filesystem_exporter_href}exports/',
|
|
961
|
-
path_params=_path_params,
|
|
962
|
-
query_params=_query_params,
|
|
963
|
-
header_params=_header_params,
|
|
964
|
-
body=_body_params,
|
|
965
|
-
post_params=_form_params,
|
|
966
|
-
files=_files,
|
|
967
|
-
auth_settings=_auth_settings,
|
|
968
|
-
collection_formats=_collection_formats,
|
|
969
|
-
_host=_host,
|
|
970
|
-
_request_auth=_request_auth
|
|
971
|
-
)
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
@validate_call
|
|
977
|
-
def read(
|
|
978
|
-
self,
|
|
979
|
-
filesystem_filesystem_export_href: StrictStr,
|
|
980
|
-
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
981
|
-
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
982
|
-
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
983
|
-
_request_timeout: Union[
|
|
984
|
-
None,
|
|
985
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
986
|
-
Tuple[
|
|
987
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
988
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
989
|
-
]
|
|
990
|
-
] = None,
|
|
991
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
992
|
-
_content_type: Optional[StrictStr] = None,
|
|
993
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
994
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
995
|
-
) -> FilesystemExportResponse:
|
|
996
|
-
"""Inspect a filesystem export
|
|
997
|
-
|
|
998
|
-
Endpoint for managing FilesystemExports.
|
|
999
|
-
|
|
1000
|
-
:param filesystem_filesystem_export_href: (required)
|
|
1001
|
-
:type filesystem_filesystem_export_href: str
|
|
1002
|
-
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1003
|
-
:type x_task_diagnostics: List[str]
|
|
1004
|
-
:param fields: A list of fields to include in the response.
|
|
1005
|
-
:type fields: List[str]
|
|
1006
|
-
:param exclude_fields: A list of fields to exclude from the response.
|
|
1007
|
-
:type exclude_fields: List[str]
|
|
1008
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1009
|
-
number provided, it will be total request
|
|
1010
|
-
timeout. It can also be a pair (tuple) of
|
|
1011
|
-
(connection, read) timeouts.
|
|
1012
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1013
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1014
|
-
request; this effectively ignores the
|
|
1015
|
-
authentication in the spec for a single request.
|
|
1016
|
-
:type _request_auth: dict, optional
|
|
1017
|
-
:param _content_type: force content-type for the request.
|
|
1018
|
-
:type _content_type: str, Optional
|
|
1019
|
-
:param _headers: set to override the headers for a single
|
|
1020
|
-
request; this effectively ignores the headers
|
|
1021
|
-
in the spec for a single request.
|
|
1022
|
-
:type _headers: dict, optional
|
|
1023
|
-
:param _host_index: set to override the host_index for a single
|
|
1024
|
-
request; this effectively ignores the host_index
|
|
1025
|
-
in the spec for a single request.
|
|
1026
|
-
:type _host_index: int, optional
|
|
1027
|
-
:return: Returns the result object.
|
|
1028
|
-
""" # noqa: E501
|
|
1029
|
-
|
|
1030
|
-
_param = self._read_serialize(
|
|
1031
|
-
filesystem_filesystem_export_href=filesystem_filesystem_export_href,
|
|
1032
|
-
x_task_diagnostics=x_task_diagnostics,
|
|
1033
|
-
fields=fields,
|
|
1034
|
-
exclude_fields=exclude_fields,
|
|
1035
|
-
_request_auth=_request_auth,
|
|
1036
|
-
_content_type=_content_type,
|
|
1037
|
-
_headers=_headers,
|
|
1038
|
-
_host_index=_host_index
|
|
1039
|
-
)
|
|
1040
|
-
|
|
1041
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1042
|
-
'200': "FilesystemExportResponse",
|
|
1043
|
-
}
|
|
1044
|
-
response_data = self.api_client.call_api(
|
|
1045
|
-
*_param,
|
|
1046
|
-
_request_timeout=_request_timeout
|
|
1047
|
-
)
|
|
1048
|
-
response_data.read()
|
|
1049
|
-
return self.api_client.response_deserialize(
|
|
1050
|
-
response_data=response_data,
|
|
1051
|
-
response_types_map=_response_types_map,
|
|
1052
|
-
).data
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
@validate_call
|
|
1056
|
-
def read_with_http_info(
|
|
1057
|
-
self,
|
|
1058
|
-
filesystem_filesystem_export_href: StrictStr,
|
|
1059
|
-
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1060
|
-
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
1061
|
-
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
1062
|
-
_request_timeout: Union[
|
|
1063
|
-
None,
|
|
1064
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1065
|
-
Tuple[
|
|
1066
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1067
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1068
|
-
]
|
|
1069
|
-
] = None,
|
|
1070
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1071
|
-
_content_type: Optional[StrictStr] = None,
|
|
1072
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1073
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1074
|
-
) -> ApiResponse[FilesystemExportResponse]:
|
|
1075
|
-
"""Inspect a filesystem export
|
|
1076
|
-
|
|
1077
|
-
Endpoint for managing FilesystemExports.
|
|
1078
|
-
|
|
1079
|
-
:param filesystem_filesystem_export_href: (required)
|
|
1080
|
-
:type filesystem_filesystem_export_href: str
|
|
1081
|
-
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1082
|
-
:type x_task_diagnostics: List[str]
|
|
1083
|
-
:param fields: A list of fields to include in the response.
|
|
1084
|
-
:type fields: List[str]
|
|
1085
|
-
:param exclude_fields: A list of fields to exclude from the response.
|
|
1086
|
-
:type exclude_fields: List[str]
|
|
1087
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1088
|
-
number provided, it will be total request
|
|
1089
|
-
timeout. It can also be a pair (tuple) of
|
|
1090
|
-
(connection, read) timeouts.
|
|
1091
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1092
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1093
|
-
request; this effectively ignores the
|
|
1094
|
-
authentication in the spec for a single request.
|
|
1095
|
-
:type _request_auth: dict, optional
|
|
1096
|
-
:param _content_type: force content-type for the request.
|
|
1097
|
-
:type _content_type: str, Optional
|
|
1098
|
-
:param _headers: set to override the headers for a single
|
|
1099
|
-
request; this effectively ignores the headers
|
|
1100
|
-
in the spec for a single request.
|
|
1101
|
-
:type _headers: dict, optional
|
|
1102
|
-
:param _host_index: set to override the host_index for a single
|
|
1103
|
-
request; this effectively ignores the host_index
|
|
1104
|
-
in the spec for a single request.
|
|
1105
|
-
:type _host_index: int, optional
|
|
1106
|
-
:return: Returns the result object.
|
|
1107
|
-
""" # noqa: E501
|
|
1108
|
-
|
|
1109
|
-
_param = self._read_serialize(
|
|
1110
|
-
filesystem_filesystem_export_href=filesystem_filesystem_export_href,
|
|
1111
|
-
x_task_diagnostics=x_task_diagnostics,
|
|
1112
|
-
fields=fields,
|
|
1113
|
-
exclude_fields=exclude_fields,
|
|
1114
|
-
_request_auth=_request_auth,
|
|
1115
|
-
_content_type=_content_type,
|
|
1116
|
-
_headers=_headers,
|
|
1117
|
-
_host_index=_host_index
|
|
1118
|
-
)
|
|
1119
|
-
|
|
1120
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1121
|
-
'200': "FilesystemExportResponse",
|
|
1122
|
-
}
|
|
1123
|
-
response_data = self.api_client.call_api(
|
|
1124
|
-
*_param,
|
|
1125
|
-
_request_timeout=_request_timeout
|
|
1126
|
-
)
|
|
1127
|
-
response_data.read()
|
|
1128
|
-
return self.api_client.response_deserialize(
|
|
1129
|
-
response_data=response_data,
|
|
1130
|
-
response_types_map=_response_types_map,
|
|
1131
|
-
)
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
@validate_call
|
|
1135
|
-
def read_without_preload_content(
|
|
1136
|
-
self,
|
|
1137
|
-
filesystem_filesystem_export_href: StrictStr,
|
|
1138
|
-
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1139
|
-
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
1140
|
-
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
1141
|
-
_request_timeout: Union[
|
|
1142
|
-
None,
|
|
1143
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1144
|
-
Tuple[
|
|
1145
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1146
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1147
|
-
]
|
|
1148
|
-
] = None,
|
|
1149
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1150
|
-
_content_type: Optional[StrictStr] = None,
|
|
1151
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1152
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1153
|
-
) -> RESTResponseType:
|
|
1154
|
-
"""Inspect a filesystem export
|
|
1155
|
-
|
|
1156
|
-
Endpoint for managing FilesystemExports.
|
|
1157
|
-
|
|
1158
|
-
:param filesystem_filesystem_export_href: (required)
|
|
1159
|
-
:type filesystem_filesystem_export_href: str
|
|
1160
|
-
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1161
|
-
:type x_task_diagnostics: List[str]
|
|
1162
|
-
:param fields: A list of fields to include in the response.
|
|
1163
|
-
:type fields: List[str]
|
|
1164
|
-
:param exclude_fields: A list of fields to exclude from the response.
|
|
1165
|
-
:type exclude_fields: List[str]
|
|
1166
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1167
|
-
number provided, it will be total request
|
|
1168
|
-
timeout. It can also be a pair (tuple) of
|
|
1169
|
-
(connection, read) timeouts.
|
|
1170
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1171
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1172
|
-
request; this effectively ignores the
|
|
1173
|
-
authentication in the spec for a single request.
|
|
1174
|
-
:type _request_auth: dict, optional
|
|
1175
|
-
:param _content_type: force content-type for the request.
|
|
1176
|
-
:type _content_type: str, Optional
|
|
1177
|
-
:param _headers: set to override the headers for a single
|
|
1178
|
-
request; this effectively ignores the headers
|
|
1179
|
-
in the spec for a single request.
|
|
1180
|
-
:type _headers: dict, optional
|
|
1181
|
-
:param _host_index: set to override the host_index for a single
|
|
1182
|
-
request; this effectively ignores the host_index
|
|
1183
|
-
in the spec for a single request.
|
|
1184
|
-
:type _host_index: int, optional
|
|
1185
|
-
:return: Returns the result object.
|
|
1186
|
-
""" # noqa: E501
|
|
1187
|
-
|
|
1188
|
-
_param = self._read_serialize(
|
|
1189
|
-
filesystem_filesystem_export_href=filesystem_filesystem_export_href,
|
|
1190
|
-
x_task_diagnostics=x_task_diagnostics,
|
|
1191
|
-
fields=fields,
|
|
1192
|
-
exclude_fields=exclude_fields,
|
|
1193
|
-
_request_auth=_request_auth,
|
|
1194
|
-
_content_type=_content_type,
|
|
1195
|
-
_headers=_headers,
|
|
1196
|
-
_host_index=_host_index
|
|
1197
|
-
)
|
|
1198
|
-
|
|
1199
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1200
|
-
'200': "FilesystemExportResponse",
|
|
1201
|
-
}
|
|
1202
|
-
response_data = self.api_client.call_api(
|
|
1203
|
-
*_param,
|
|
1204
|
-
_request_timeout=_request_timeout
|
|
1205
|
-
)
|
|
1206
|
-
return response_data.response
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
def _read_serialize(
|
|
1210
|
-
self,
|
|
1211
|
-
filesystem_filesystem_export_href,
|
|
1212
|
-
x_task_diagnostics,
|
|
1213
|
-
fields,
|
|
1214
|
-
exclude_fields,
|
|
1215
|
-
_request_auth,
|
|
1216
|
-
_content_type,
|
|
1217
|
-
_headers,
|
|
1218
|
-
_host_index,
|
|
1219
|
-
) -> RequestSerialized:
|
|
1220
|
-
|
|
1221
|
-
_host = None
|
|
1222
|
-
|
|
1223
|
-
_collection_formats: Dict[str, str] = {
|
|
1224
|
-
'X-Task-Diagnostics': 'csv',
|
|
1225
|
-
'fields': 'multi',
|
|
1226
|
-
'exclude_fields': 'multi',
|
|
1227
|
-
}
|
|
1228
|
-
|
|
1229
|
-
_path_params: Dict[str, str] = {}
|
|
1230
|
-
_query_params: List[Tuple[str, str]] = []
|
|
1231
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1232
|
-
_form_params: List[Tuple[str, str]] = []
|
|
1233
|
-
_files: Dict[
|
|
1234
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1235
|
-
] = {}
|
|
1236
|
-
_body_params: Optional[bytes] = None
|
|
1237
|
-
|
|
1238
|
-
# process the path parameters
|
|
1239
|
-
if filesystem_filesystem_export_href is not None:
|
|
1240
|
-
_path_params['filesystem_filesystem_export_href'] = filesystem_filesystem_export_href
|
|
1241
|
-
# process the query parameters
|
|
1242
|
-
if fields is not None:
|
|
1243
|
-
|
|
1244
|
-
_query_params.append(('fields', fields))
|
|
1245
|
-
|
|
1246
|
-
if exclude_fields is not None:
|
|
1247
|
-
|
|
1248
|
-
_query_params.append(('exclude_fields', exclude_fields))
|
|
1249
|
-
|
|
1250
|
-
# process the header parameters
|
|
1251
|
-
if x_task_diagnostics is not None:
|
|
1252
|
-
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
1253
|
-
# process the form parameters
|
|
1254
|
-
# process the body parameter
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
# set the HTTP header `Accept`
|
|
1258
|
-
if 'Accept' not in _header_params:
|
|
1259
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1260
|
-
[
|
|
1261
|
-
'application/json'
|
|
1262
|
-
]
|
|
1263
|
-
)
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
# authentication setting
|
|
1267
|
-
_auth_settings: List[str] = [
|
|
1268
|
-
'json_header_remote_authentication',
|
|
1269
|
-
'basicAuth',
|
|
1270
|
-
'cookieAuth'
|
|
1271
|
-
]
|
|
1272
|
-
|
|
1273
|
-
return self.api_client.param_serialize(
|
|
1274
|
-
method='GET',
|
|
1275
|
-
resource_path='{filesystem_filesystem_export_href}',
|
|
1276
|
-
path_params=_path_params,
|
|
1277
|
-
query_params=_query_params,
|
|
1278
|
-
header_params=_header_params,
|
|
1279
|
-
body=_body_params,
|
|
1280
|
-
post_params=_form_params,
|
|
1281
|
-
files=_files,
|
|
1282
|
-
auth_settings=_auth_settings,
|
|
1283
|
-
collection_formats=_collection_formats,
|
|
1284
|
-
_host=_host,
|
|
1285
|
-
_request_auth=_request_auth
|
|
1286
|
-
)
|
|
1287
|
-
|
|
1288
|
-
|