From 213a5f4f8043525083cfeb703c817988a50696d9 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Thu, 30 Jul 2026 17:46:14 -0400 Subject: [PATCH] Align synchronous resource deletion responses --- CHANGELOG.md | 9 +- examples/job_crud.py | 2 +- .../swagger.json-default.sha256 | 2 +- kubernetes/aio/e2e_test/test_batch.py | 11 ++- kubernetes/aio/test/test_generated_api.py | 78 +++++++++++------ .../api/admissionregistration_v1_api.py | 72 ++++++++-------- .../api/admissionregistration_v1alpha1_api.py | 24 +++--- .../api/admissionregistration_v1beta1_api.py | 24 +++--- kubernetes/client/api/apiextensions_v1_api.py | 12 +-- .../client/api/apiregistration_v1_api.py | 12 +-- kubernetes/client/api/apps_v1_api.py | 60 ++++++------- kubernetes/client/api/autoscaling_v1_api.py | 12 +-- kubernetes/client/api/autoscaling_v2_api.py | 12 +-- kubernetes/client/api/batch_v1_api.py | 24 +++--- kubernetes/client/api/certificates_v1_api.py | 12 +-- .../client/api/certificates_v1alpha1_api.py | 12 +-- .../client/api/certificates_v1beta1_api.py | 24 +++--- kubernetes/client/api/coordination_v1_api.py | 12 +-- .../client/api/coordination_v1alpha2_api.py | 12 +-- .../client/api/coordination_v1beta1_api.py | 12 +-- kubernetes/client/api/core_v1_api.py | 84 +++++++++---------- kubernetes/client/api/discovery_v1_api.py | 12 +-- kubernetes/client/api/events_v1_api.py | 12 +-- .../api/flowcontrol_apiserver_v1_api.py | 24 +++--- .../api/internal_apiserver_v1alpha1_api.py | 12 +-- kubernetes/client/api/networking_v1_api.py | 60 ++++++------- .../client/api/networking_v1beta1_api.py | 24 +++--- kubernetes/client/api/node_v1_api.py | 12 +-- kubernetes/client/api/policy_v1_api.py | 12 +-- .../client/api/rbac_authorization_v1_api.py | 48 +++++------ kubernetes/client/api/scheduling_v1_api.py | 12 +-- .../client/api/scheduling_v1alpha2_api.py | 24 +++--- kubernetes/client/api/storage_v1_api.py | 12 +-- .../api/storagemigration_v1beta1_api.py | 12 +-- kubernetes/docs/AdmissionregistrationV1Api.md | 30 +++---- .../docs/AdmissionregistrationV1alpha1Api.md | 10 +-- .../docs/AdmissionregistrationV1beta1Api.md | 10 +-- kubernetes/docs/ApiextensionsV1Api.md | 5 +- kubernetes/docs/ApiregistrationV1Api.md | 5 +- kubernetes/docs/AppsV1Api.md | 25 +++--- kubernetes/docs/AutoscalingV1Api.md | 5 +- kubernetes/docs/AutoscalingV2Api.md | 5 +- kubernetes/docs/BatchV1Api.md | 10 +-- kubernetes/docs/CertificatesV1Api.md | 5 +- kubernetes/docs/CertificatesV1alpha1Api.md | 5 +- kubernetes/docs/CertificatesV1beta1Api.md | 10 +-- kubernetes/docs/CoordinationV1Api.md | 5 +- kubernetes/docs/CoordinationV1alpha2Api.md | 5 +- kubernetes/docs/CoordinationV1beta1Api.md | 5 +- kubernetes/docs/CoreV1Api.md | 35 ++++---- kubernetes/docs/DiscoveryV1Api.md | 5 +- kubernetes/docs/EventsV1Api.md | 5 +- kubernetes/docs/FlowcontrolApiserverV1Api.md | 10 +-- .../docs/InternalApiserverV1alpha1Api.md | 5 +- kubernetes/docs/NetworkingV1Api.md | 25 +++--- kubernetes/docs/NetworkingV1beta1Api.md | 10 +-- kubernetes/docs/NodeV1Api.md | 5 +- kubernetes/docs/PolicyV1Api.md | 5 +- kubernetes/docs/RbacAuthorizationV1Api.md | 20 ++--- kubernetes/docs/SchedulingV1Api.md | 5 +- kubernetes/docs/SchedulingV1alpha2Api.md | 10 +-- kubernetes/docs/StorageV1Api.md | 5 +- kubernetes/docs/StoragemigrationV1beta1Api.md | 5 +- kubernetes/e2e_test/test_batch.py | 13 ++- kubernetes/test/test_generated_api.py | 78 +++++++++++++++++ 65 files changed, 622 insertions(+), 557 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8acbc9f726..83a4558f7f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,9 +37,12 @@ updates: `await client.close()` or an async context manager. Interactive websocket streams use the generated `_without_preload_content` operations. -- `CoreV1Api.delete_namespace` now returns a decoded dictionary rather - than `V1Status`, since a successful deletion can return either a - terminating Namespace or a Status. +- Individual resource-deletion methods that previously returned + `V1Status`, including `CoreV1Api.delete_namespace` and + `BatchV1Api.delete_namespaced_job`, now return decoded dictionaries in + both clients. A successful deletion can return either the deleted + resource or a Status; access response fields with dictionary keys + instead of model attributes. See [kubernetes-client/python#2631][python-pr] and [kubernetes-client/gen#305][gen-pr]. diff --git a/examples/job_crud.py b/examples/job_crud.py index fe103eb140..a6410f289d 100644 --- a/examples/job_crud.py +++ b/examples/job_crud.py @@ -88,7 +88,7 @@ def delete_job(api_instance): body=client.V1DeleteOptions( propagation_policy='Foreground', grace_period_seconds=5)) - print(f"Job deleted. status='{str(api_response.status)}'") + print(f"Job deleted. status='{str(api_response.get('status'))}'") def main(): diff --git a/kubernetes/.openapi-generator/swagger.json-default.sha256 b/kubernetes/.openapi-generator/swagger.json-default.sha256 index 5e0b1df884..228afee9e0 100644 --- a/kubernetes/.openapi-generator/swagger.json-default.sha256 +++ b/kubernetes/.openapi-generator/swagger.json-default.sha256 @@ -1 +1 @@ -c3d1f3292b01c5e3297240c5d49a69cd078653cd4a9f3d3482afa516a2d4c429 \ No newline at end of file +fdf8e53487f406c1ebc282797e8c33f290c6ad9bf8df9cd13a776dd6f82eaadd \ No newline at end of file diff --git a/kubernetes/aio/e2e_test/test_batch.py b/kubernetes/aio/e2e_test/test_batch.py index 8926cd9b56..00d87f30c8 100644 --- a/kubernetes/aio/e2e_test/test_batch.py +++ b/kubernetes/aio/e2e_test/test_batch.py @@ -55,4 +55,13 @@ async def test_job_apis(self): self.assertEqual(name, resp.metadata.name) resp = await api.delete_namespaced_job( - name=name, body={}, namespace='default') + name=name, body={'propagationPolicy': 'Background'}, + namespace='default') + self.assertIsInstance(resp, dict) + self.assertIn(resp['kind'], ('Job', 'Status')) + if resp['kind'] == 'Job': + self.assertEqual(name, resp['metadata']['name']) + else: + self.assertEqual('Success', resp['status']) + if 'details' in resp: + self.assertEqual(name, resp['details']['name']) diff --git a/kubernetes/aio/test/test_generated_api.py b/kubernetes/aio/test/test_generated_api.py index 9f0356a8ec..f552c23691 100644 --- a/kubernetes/aio/test/test_generated_api.py +++ b/kubernetes/aio/test/test_generated_api.py @@ -45,6 +45,7 @@ async def asyncSetUp(self): 'metadata': {'resourceVersion': '1'}, 'items': [], } + self.response_status = 200 app = web.Application() app.router.add_route('*', '/{path:.*}', self._handle_request) self.runner = web.AppRunner(app) @@ -90,7 +91,7 @@ async def _handle_request(self, request): }).encode() + b'\n') await response.write_eof() return response - return web.json_response(self.response) + return web.json_response(self.response, status=self.response_status) async def test_bearer_alias_supports_synchronous_token_refresh(self): self.configuration.api_key['authorization'] = 'expired-token' @@ -124,34 +125,57 @@ async def refresh(configuration): async def test_delete_job_accepts_job_and_status_responses(self): responses = ( - { - 'apiVersion': 'batch/v1', - 'kind': 'Job', - 'metadata': {'name': 'sample'}, - 'status': {'ready': 0}, - }, - { - 'apiVersion': 'v1', - 'kind': 'Status', - 'status': 'Success', - 'details': {'name': 'sample', 'kind': 'jobs'}, - }, + ( + { + 'apiVersion': 'batch/v1', + 'kind': 'Job', + 'metadata': {'name': 'sample'}, + 'status': {'ready': 0}, + }, + 'Job', + {'ready': 0}, + ), + ( + { + 'apiVersion': 'v1', + 'kind': 'Status', + 'status': 'Success', + 'details': {'name': 'sample', 'kind': 'jobs'}, + }, + 'Status', + 'Success', + ), ) - for response in responses: - with self.subTest(kind=response['kind']): - self.response = response - deleted = await BatchV1Api( - self.api_client, - ).delete_namespaced_job( - name='sample', namespace='default', body={}, - ) - - self.assertEqual(response, deleted) - self.assertEqual( - '/apis/batch/v1/namespaces/default/jobs/sample', - self.requests[-1][0].path, - ) + for response_status in (200, 202): + for response, expected_kind, expected_status in responses: + with self.subTest( + status=response_status, kind=expected_kind + ): + self.response_status = response_status + self.response = response + deleted = await BatchV1Api( + self.api_client, + ).delete_namespaced_job( + name='sample', namespace='default', body={}, + ) + + self.assertIsInstance(deleted, dict) + self.assertIsNot(response, deleted) + self.assertEqual(response, deleted) + self.assertEqual(expected_kind, deleted['kind']) + self.assertEqual(expected_status, deleted['status']) + if expected_kind == 'Job': + self.assertIsInstance(deleted['status'], dict) + self.assertIsNot(response['status'], deleted['status']) + else: + self.assertIsInstance(deleted['status'], str) + request, body = self.requests[-1] + self.assertEqual({}, json.loads(body)) + self.assertEqual( + '/apis/batch/v1/namespaces/default/jobs/sample', + request.path, + ) async def test_object_patches_use_strategic_merge(self): self.response = { diff --git a/kubernetes/client/api/admissionregistration_v1_api.py b/kubernetes/client/api/admissionregistration_v1_api.py index cf530fc8f4..147c331f09 100644 --- a/kubernetes/client/api/admissionregistration_v1_api.py +++ b/kubernetes/client/api/admissionregistration_v1_api.py @@ -4304,7 +4304,7 @@ def delete_mutating_admission_policy( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_mutating_admission_policy delete a MutatingAdmissionPolicy @@ -4372,8 +4372,8 @@ def delete_mutating_admission_policy( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -4412,7 +4412,7 @@ def delete_mutating_admission_policy_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_mutating_admission_policy delete a MutatingAdmissionPolicy @@ -4480,8 +4480,8 @@ def delete_mutating_admission_policy_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -4620,7 +4620,7 @@ def delete_mutating_admission_policy_binding( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_mutating_admission_policy_binding delete a MutatingAdmissionPolicyBinding @@ -4688,8 +4688,8 @@ def delete_mutating_admission_policy_binding( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -4728,7 +4728,7 @@ def delete_mutating_admission_policy_binding_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_mutating_admission_policy_binding delete a MutatingAdmissionPolicyBinding @@ -4796,8 +4796,8 @@ def delete_mutating_admission_policy_binding_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -4936,7 +4936,7 @@ def delete_mutating_webhook_configuration( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_mutating_webhook_configuration delete a MutatingWebhookConfiguration @@ -5004,8 +5004,8 @@ def delete_mutating_webhook_configuration( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -5044,7 +5044,7 @@ def delete_mutating_webhook_configuration_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_mutating_webhook_configuration delete a MutatingWebhookConfiguration @@ -5112,8 +5112,8 @@ def delete_mutating_webhook_configuration_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -5252,7 +5252,7 @@ def delete_validating_admission_policy( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_validating_admission_policy delete a ValidatingAdmissionPolicy @@ -5320,8 +5320,8 @@ def delete_validating_admission_policy( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -5360,7 +5360,7 @@ def delete_validating_admission_policy_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_validating_admission_policy delete a ValidatingAdmissionPolicy @@ -5428,8 +5428,8 @@ def delete_validating_admission_policy_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -5568,7 +5568,7 @@ def delete_validating_admission_policy_binding( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_validating_admission_policy_binding delete a ValidatingAdmissionPolicyBinding @@ -5636,8 +5636,8 @@ def delete_validating_admission_policy_binding( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -5676,7 +5676,7 @@ def delete_validating_admission_policy_binding_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_validating_admission_policy_binding delete a ValidatingAdmissionPolicyBinding @@ -5744,8 +5744,8 @@ def delete_validating_admission_policy_binding_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -5884,7 +5884,7 @@ def delete_validating_webhook_configuration( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_validating_webhook_configuration delete a ValidatingWebhookConfiguration @@ -5952,8 +5952,8 @@ def delete_validating_webhook_configuration( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -5992,7 +5992,7 @@ def delete_validating_webhook_configuration_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_validating_webhook_configuration delete a ValidatingWebhookConfiguration @@ -6060,8 +6060,8 @@ def delete_validating_webhook_configuration_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/admissionregistration_v1alpha1_api.py b/kubernetes/client/api/admissionregistration_v1alpha1_api.py index 808c6aa089..7809a7d503 100644 --- a/kubernetes/client/api/admissionregistration_v1alpha1_api.py +++ b/kubernetes/client/api/admissionregistration_v1alpha1_api.py @@ -1492,7 +1492,7 @@ def delete_mutating_admission_policy( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_mutating_admission_policy delete a MutatingAdmissionPolicy @@ -1560,8 +1560,8 @@ def delete_mutating_admission_policy( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -1600,7 +1600,7 @@ def delete_mutating_admission_policy_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_mutating_admission_policy delete a MutatingAdmissionPolicy @@ -1668,8 +1668,8 @@ def delete_mutating_admission_policy_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -1808,7 +1808,7 @@ def delete_mutating_admission_policy_binding( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_mutating_admission_policy_binding delete a MutatingAdmissionPolicyBinding @@ -1876,8 +1876,8 @@ def delete_mutating_admission_policy_binding( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -1916,7 +1916,7 @@ def delete_mutating_admission_policy_binding_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_mutating_admission_policy_binding delete a MutatingAdmissionPolicyBinding @@ -1984,8 +1984,8 @@ def delete_mutating_admission_policy_binding_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/admissionregistration_v1beta1_api.py b/kubernetes/client/api/admissionregistration_v1beta1_api.py index f412782796..b5aba6e03b 100644 --- a/kubernetes/client/api/admissionregistration_v1beta1_api.py +++ b/kubernetes/client/api/admissionregistration_v1beta1_api.py @@ -1492,7 +1492,7 @@ def delete_mutating_admission_policy( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_mutating_admission_policy delete a MutatingAdmissionPolicy @@ -1560,8 +1560,8 @@ def delete_mutating_admission_policy( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -1600,7 +1600,7 @@ def delete_mutating_admission_policy_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_mutating_admission_policy delete a MutatingAdmissionPolicy @@ -1668,8 +1668,8 @@ def delete_mutating_admission_policy_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -1808,7 +1808,7 @@ def delete_mutating_admission_policy_binding( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_mutating_admission_policy_binding delete a MutatingAdmissionPolicyBinding @@ -1876,8 +1876,8 @@ def delete_mutating_admission_policy_binding( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -1916,7 +1916,7 @@ def delete_mutating_admission_policy_binding_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_mutating_admission_policy_binding delete a MutatingAdmissionPolicyBinding @@ -1984,8 +1984,8 @@ def delete_mutating_admission_policy_binding_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/apiextensions_v1_api.py b/kubernetes/client/api/apiextensions_v1_api.py index 84c878447f..79f6a421d4 100644 --- a/kubernetes/client/api/apiextensions_v1_api.py +++ b/kubernetes/client/api/apiextensions_v1_api.py @@ -789,7 +789,7 @@ def delete_custom_resource_definition( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_custom_resource_definition delete a CustomResourceDefinition @@ -857,8 +857,8 @@ def delete_custom_resource_definition( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -897,7 +897,7 @@ def delete_custom_resource_definition_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_custom_resource_definition delete a CustomResourceDefinition @@ -965,8 +965,8 @@ def delete_custom_resource_definition_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/apiregistration_v1_api.py b/kubernetes/client/api/apiregistration_v1_api.py index d7260e64a3..9ba60a411d 100644 --- a/kubernetes/client/api/apiregistration_v1_api.py +++ b/kubernetes/client/api/apiregistration_v1_api.py @@ -369,7 +369,7 @@ def delete_api_service( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_api_service delete an APIService @@ -437,8 +437,8 @@ def delete_api_service( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -477,7 +477,7 @@ def delete_api_service_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_api_service delete an APIService @@ -545,8 +545,8 @@ def delete_api_service_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/apps_v1_api.py b/kubernetes/client/api/apps_v1_api.py index 6fab16cda5..67bd6a6b4d 100644 --- a/kubernetes/client/api/apps_v1_api.py +++ b/kubernetes/client/api/apps_v1_api.py @@ -3713,7 +3713,7 @@ def delete_namespaced_controller_revision( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_namespaced_controller_revision delete a ControllerRevision @@ -3784,8 +3784,8 @@ def delete_namespaced_controller_revision( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -3825,7 +3825,7 @@ def delete_namespaced_controller_revision_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_namespaced_controller_revision delete a ControllerRevision @@ -3896,8 +3896,8 @@ def delete_namespaced_controller_revision_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -4040,7 +4040,7 @@ def delete_namespaced_daemon_set( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_namespaced_daemon_set delete a DaemonSet @@ -4111,8 +4111,8 @@ def delete_namespaced_daemon_set( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -4152,7 +4152,7 @@ def delete_namespaced_daemon_set_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_namespaced_daemon_set delete a DaemonSet @@ -4223,8 +4223,8 @@ def delete_namespaced_daemon_set_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -4367,7 +4367,7 @@ def delete_namespaced_deployment( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_namespaced_deployment delete a Deployment @@ -4438,8 +4438,8 @@ def delete_namespaced_deployment( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -4479,7 +4479,7 @@ def delete_namespaced_deployment_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_namespaced_deployment delete a Deployment @@ -4550,8 +4550,8 @@ def delete_namespaced_deployment_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -4694,7 +4694,7 @@ def delete_namespaced_replica_set( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_namespaced_replica_set delete a ReplicaSet @@ -4765,8 +4765,8 @@ def delete_namespaced_replica_set( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -4806,7 +4806,7 @@ def delete_namespaced_replica_set_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_namespaced_replica_set delete a ReplicaSet @@ -4877,8 +4877,8 @@ def delete_namespaced_replica_set_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -5021,7 +5021,7 @@ def delete_namespaced_stateful_set( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_namespaced_stateful_set delete a StatefulSet @@ -5092,8 +5092,8 @@ def delete_namespaced_stateful_set( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -5133,7 +5133,7 @@ def delete_namespaced_stateful_set_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_namespaced_stateful_set delete a StatefulSet @@ -5204,8 +5204,8 @@ def delete_namespaced_stateful_set_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/autoscaling_v1_api.py b/kubernetes/client/api/autoscaling_v1_api.py index b0af81798e..565887264b 100644 --- a/kubernetes/client/api/autoscaling_v1_api.py +++ b/kubernetes/client/api/autoscaling_v1_api.py @@ -812,7 +812,7 @@ def delete_namespaced_horizontal_pod_autoscaler( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_namespaced_horizontal_pod_autoscaler delete a HorizontalPodAutoscaler @@ -883,8 +883,8 @@ def delete_namespaced_horizontal_pod_autoscaler( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -924,7 +924,7 @@ def delete_namespaced_horizontal_pod_autoscaler_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_namespaced_horizontal_pod_autoscaler delete a HorizontalPodAutoscaler @@ -995,8 +995,8 @@ def delete_namespaced_horizontal_pod_autoscaler_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/autoscaling_v2_api.py b/kubernetes/client/api/autoscaling_v2_api.py index 5c35a64b2f..3218313ad0 100644 --- a/kubernetes/client/api/autoscaling_v2_api.py +++ b/kubernetes/client/api/autoscaling_v2_api.py @@ -812,7 +812,7 @@ def delete_namespaced_horizontal_pod_autoscaler( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_namespaced_horizontal_pod_autoscaler delete a HorizontalPodAutoscaler @@ -883,8 +883,8 @@ def delete_namespaced_horizontal_pod_autoscaler( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -924,7 +924,7 @@ def delete_namespaced_horizontal_pod_autoscaler_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_namespaced_horizontal_pod_autoscaler delete a HorizontalPodAutoscaler @@ -995,8 +995,8 @@ def delete_namespaced_horizontal_pod_autoscaler_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/batch_v1_api.py b/kubernetes/client/api/batch_v1_api.py index e7124d1734..8380479782 100644 --- a/kubernetes/client/api/batch_v1_api.py +++ b/kubernetes/client/api/batch_v1_api.py @@ -1537,7 +1537,7 @@ def delete_namespaced_cron_job( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_namespaced_cron_job delete a CronJob @@ -1608,8 +1608,8 @@ def delete_namespaced_cron_job( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -1649,7 +1649,7 @@ def delete_namespaced_cron_job_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_namespaced_cron_job delete a CronJob @@ -1720,8 +1720,8 @@ def delete_namespaced_cron_job_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -1864,7 +1864,7 @@ def delete_namespaced_job( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_namespaced_job delete a Job @@ -1935,8 +1935,8 @@ def delete_namespaced_job( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -1976,7 +1976,7 @@ def delete_namespaced_job_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_namespaced_job delete a Job @@ -2047,8 +2047,8 @@ def delete_namespaced_job_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/certificates_v1_api.py b/kubernetes/client/api/certificates_v1_api.py index c8aa8bdf0f..304e725c18 100644 --- a/kubernetes/client/api/certificates_v1_api.py +++ b/kubernetes/client/api/certificates_v1_api.py @@ -369,7 +369,7 @@ def delete_certificate_signing_request( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_certificate_signing_request delete a CertificateSigningRequest @@ -437,8 +437,8 @@ def delete_certificate_signing_request( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -477,7 +477,7 @@ def delete_certificate_signing_request_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_certificate_signing_request delete a CertificateSigningRequest @@ -545,8 +545,8 @@ def delete_certificate_signing_request_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/certificates_v1alpha1_api.py b/kubernetes/client/api/certificates_v1alpha1_api.py index 8d978483af..285e4eeaa8 100644 --- a/kubernetes/client/api/certificates_v1alpha1_api.py +++ b/kubernetes/client/api/certificates_v1alpha1_api.py @@ -369,7 +369,7 @@ def delete_cluster_trust_bundle( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_cluster_trust_bundle delete a ClusterTrustBundle @@ -437,8 +437,8 @@ def delete_cluster_trust_bundle( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -477,7 +477,7 @@ def delete_cluster_trust_bundle_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_cluster_trust_bundle delete a ClusterTrustBundle @@ -545,8 +545,8 @@ def delete_cluster_trust_bundle_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/certificates_v1beta1_api.py b/kubernetes/client/api/certificates_v1beta1_api.py index c4dbd346ae..6ed1ff3c4c 100644 --- a/kubernetes/client/api/certificates_v1beta1_api.py +++ b/kubernetes/client/api/certificates_v1beta1_api.py @@ -663,7 +663,7 @@ def delete_cluster_trust_bundle( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_cluster_trust_bundle delete a ClusterTrustBundle @@ -731,8 +731,8 @@ def delete_cluster_trust_bundle( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -771,7 +771,7 @@ def delete_cluster_trust_bundle_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_cluster_trust_bundle delete a ClusterTrustBundle @@ -839,8 +839,8 @@ def delete_cluster_trust_bundle_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -1831,7 +1831,7 @@ def delete_namespaced_pod_certificate_request( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_namespaced_pod_certificate_request delete a PodCertificateRequest @@ -1902,8 +1902,8 @@ def delete_namespaced_pod_certificate_request( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -1943,7 +1943,7 @@ def delete_namespaced_pod_certificate_request_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_namespaced_pod_certificate_request delete a PodCertificateRequest @@ -2014,8 +2014,8 @@ def delete_namespaced_pod_certificate_request_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/coordination_v1_api.py b/kubernetes/client/api/coordination_v1_api.py index 5cd6d5656f..cb12bfe77a 100644 --- a/kubernetes/client/api/coordination_v1_api.py +++ b/kubernetes/client/api/coordination_v1_api.py @@ -812,7 +812,7 @@ def delete_namespaced_lease( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_namespaced_lease delete a Lease @@ -883,8 +883,8 @@ def delete_namespaced_lease( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -924,7 +924,7 @@ def delete_namespaced_lease_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_namespaced_lease delete a Lease @@ -995,8 +995,8 @@ def delete_namespaced_lease_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/coordination_v1alpha2_api.py b/kubernetes/client/api/coordination_v1alpha2_api.py index 3c57d10176..d49a681f72 100644 --- a/kubernetes/client/api/coordination_v1alpha2_api.py +++ b/kubernetes/client/api/coordination_v1alpha2_api.py @@ -812,7 +812,7 @@ def delete_namespaced_lease_candidate( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_namespaced_lease_candidate delete a LeaseCandidate @@ -883,8 +883,8 @@ def delete_namespaced_lease_candidate( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -924,7 +924,7 @@ def delete_namespaced_lease_candidate_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_namespaced_lease_candidate delete a LeaseCandidate @@ -995,8 +995,8 @@ def delete_namespaced_lease_candidate_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/coordination_v1beta1_api.py b/kubernetes/client/api/coordination_v1beta1_api.py index 8cf017aa42..695d75355e 100644 --- a/kubernetes/client/api/coordination_v1beta1_api.py +++ b/kubernetes/client/api/coordination_v1beta1_api.py @@ -812,7 +812,7 @@ def delete_namespaced_lease_candidate( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_namespaced_lease_candidate delete a LeaseCandidate @@ -883,8 +883,8 @@ def delete_namespaced_lease_candidate( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -924,7 +924,7 @@ def delete_namespaced_lease_candidate_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_namespaced_lease_candidate delete a LeaseCandidate @@ -995,8 +995,8 @@ def delete_namespaced_lease_candidate_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/core_v1_api.py b/kubernetes/client/api/core_v1_api.py index 4987b58f47..bfa4506f55 100644 --- a/kubernetes/client/api/core_v1_api.py +++ b/kubernetes/client/api/core_v1_api.py @@ -24120,7 +24120,7 @@ def delete_namespaced_config_map( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_namespaced_config_map delete a ConfigMap @@ -24191,8 +24191,8 @@ def delete_namespaced_config_map( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -24232,7 +24232,7 @@ def delete_namespaced_config_map_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_namespaced_config_map delete a ConfigMap @@ -24303,8 +24303,8 @@ def delete_namespaced_config_map_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -24447,7 +24447,7 @@ def delete_namespaced_endpoints( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_namespaced_endpoints delete Endpoints @@ -24518,8 +24518,8 @@ def delete_namespaced_endpoints( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -24559,7 +24559,7 @@ def delete_namespaced_endpoints_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_namespaced_endpoints delete Endpoints @@ -24630,8 +24630,8 @@ def delete_namespaced_endpoints_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -24774,7 +24774,7 @@ def delete_namespaced_event( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_namespaced_event delete an Event @@ -24845,8 +24845,8 @@ def delete_namespaced_event( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -24886,7 +24886,7 @@ def delete_namespaced_event_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_namespaced_event delete an Event @@ -24957,8 +24957,8 @@ def delete_namespaced_event_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -25101,7 +25101,7 @@ def delete_namespaced_limit_range( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_namespaced_limit_range delete a LimitRange @@ -25172,8 +25172,8 @@ def delete_namespaced_limit_range( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -25213,7 +25213,7 @@ def delete_namespaced_limit_range_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_namespaced_limit_range delete a LimitRange @@ -25284,8 +25284,8 @@ def delete_namespaced_limit_range_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -26409,7 +26409,7 @@ def delete_namespaced_replication_controller( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_namespaced_replication_controller delete a ReplicationController @@ -26480,8 +26480,8 @@ def delete_namespaced_replication_controller( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -26521,7 +26521,7 @@ def delete_namespaced_replication_controller_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_namespaced_replication_controller delete a ReplicationController @@ -26592,8 +26592,8 @@ def delete_namespaced_replication_controller_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -27063,7 +27063,7 @@ def delete_namespaced_secret( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_namespaced_secret delete a Secret @@ -27134,8 +27134,8 @@ def delete_namespaced_secret( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -27175,7 +27175,7 @@ def delete_namespaced_secret_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_namespaced_secret delete a Secret @@ -27246,8 +27246,8 @@ def delete_namespaced_secret_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -28043,7 +28043,7 @@ def delete_node( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_node delete a Node @@ -28111,8 +28111,8 @@ def delete_node( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -28151,7 +28151,7 @@ def delete_node_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_node delete a Node @@ -28219,8 +28219,8 @@ def delete_node_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/discovery_v1_api.py b/kubernetes/client/api/discovery_v1_api.py index 554b150a56..1206f056cb 100644 --- a/kubernetes/client/api/discovery_v1_api.py +++ b/kubernetes/client/api/discovery_v1_api.py @@ -812,7 +812,7 @@ def delete_namespaced_endpoint_slice( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_namespaced_endpoint_slice delete an EndpointSlice @@ -883,8 +883,8 @@ def delete_namespaced_endpoint_slice( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -924,7 +924,7 @@ def delete_namespaced_endpoint_slice_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_namespaced_endpoint_slice delete an EndpointSlice @@ -995,8 +995,8 @@ def delete_namespaced_endpoint_slice_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/events_v1_api.py b/kubernetes/client/api/events_v1_api.py index bc1bad7853..aed1887ba6 100644 --- a/kubernetes/client/api/events_v1_api.py +++ b/kubernetes/client/api/events_v1_api.py @@ -812,7 +812,7 @@ def delete_namespaced_event( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_namespaced_event delete an Event @@ -883,8 +883,8 @@ def delete_namespaced_event( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -924,7 +924,7 @@ def delete_namespaced_event_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_namespaced_event delete an Event @@ -995,8 +995,8 @@ def delete_namespaced_event_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/flowcontrol_apiserver_v1_api.py b/kubernetes/client/api/flowcontrol_apiserver_v1_api.py index ebc700b106..687760112d 100644 --- a/kubernetes/client/api/flowcontrol_apiserver_v1_api.py +++ b/kubernetes/client/api/flowcontrol_apiserver_v1_api.py @@ -1492,7 +1492,7 @@ def delete_flow_schema( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_flow_schema delete a FlowSchema @@ -1560,8 +1560,8 @@ def delete_flow_schema( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -1600,7 +1600,7 @@ def delete_flow_schema_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_flow_schema delete a FlowSchema @@ -1668,8 +1668,8 @@ def delete_flow_schema_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -1808,7 +1808,7 @@ def delete_priority_level_configuration( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_priority_level_configuration delete a PriorityLevelConfiguration @@ -1876,8 +1876,8 @@ def delete_priority_level_configuration( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -1916,7 +1916,7 @@ def delete_priority_level_configuration_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_priority_level_configuration delete a PriorityLevelConfiguration @@ -1984,8 +1984,8 @@ def delete_priority_level_configuration_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/internal_apiserver_v1alpha1_api.py b/kubernetes/client/api/internal_apiserver_v1alpha1_api.py index 517d2ac8ce..8359e954b2 100644 --- a/kubernetes/client/api/internal_apiserver_v1alpha1_api.py +++ b/kubernetes/client/api/internal_apiserver_v1alpha1_api.py @@ -789,7 +789,7 @@ def delete_storage_version( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_storage_version delete a StorageVersion @@ -857,8 +857,8 @@ def delete_storage_version( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -897,7 +897,7 @@ def delete_storage_version_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_storage_version delete a StorageVersion @@ -965,8 +965,8 @@ def delete_storage_version_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/networking_v1_api.py b/kubernetes/client/api/networking_v1_api.py index e6d3a239e5..3cbe0cadb4 100644 --- a/kubernetes/client/api/networking_v1_api.py +++ b/kubernetes/client/api/networking_v1_api.py @@ -3645,7 +3645,7 @@ def delete_ingress_class( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_ingress_class delete an IngressClass @@ -3713,8 +3713,8 @@ def delete_ingress_class( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -3753,7 +3753,7 @@ def delete_ingress_class_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_ingress_class delete an IngressClass @@ -3821,8 +3821,8 @@ def delete_ingress_class_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -3961,7 +3961,7 @@ def delete_ip_address( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_ip_address delete an IPAddress @@ -4029,8 +4029,8 @@ def delete_ip_address( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -4069,7 +4069,7 @@ def delete_ip_address_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_ip_address delete an IPAddress @@ -4137,8 +4137,8 @@ def delete_ip_address_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -4278,7 +4278,7 @@ def delete_namespaced_ingress( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_namespaced_ingress delete an Ingress @@ -4349,8 +4349,8 @@ def delete_namespaced_ingress( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -4390,7 +4390,7 @@ def delete_namespaced_ingress_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_namespaced_ingress delete an Ingress @@ -4461,8 +4461,8 @@ def delete_namespaced_ingress_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -4605,7 +4605,7 @@ def delete_namespaced_network_policy( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_namespaced_network_policy delete a NetworkPolicy @@ -4676,8 +4676,8 @@ def delete_namespaced_network_policy( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -4717,7 +4717,7 @@ def delete_namespaced_network_policy_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_namespaced_network_policy delete a NetworkPolicy @@ -4788,8 +4788,8 @@ def delete_namespaced_network_policy_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -4931,7 +4931,7 @@ def delete_service_cidr( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_service_cidr delete a ServiceCIDR @@ -4999,8 +4999,8 @@ def delete_service_cidr( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -5039,7 +5039,7 @@ def delete_service_cidr_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_service_cidr delete a ServiceCIDR @@ -5107,8 +5107,8 @@ def delete_service_cidr_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/networking_v1beta1_api.py b/kubernetes/client/api/networking_v1beta1_api.py index e7b1c590fa..4103a9dbac 100644 --- a/kubernetes/client/api/networking_v1beta1_api.py +++ b/kubernetes/client/api/networking_v1beta1_api.py @@ -1492,7 +1492,7 @@ def delete_ip_address( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_ip_address delete an IPAddress @@ -1560,8 +1560,8 @@ def delete_ip_address( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -1600,7 +1600,7 @@ def delete_ip_address_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_ip_address delete an IPAddress @@ -1668,8 +1668,8 @@ def delete_ip_address_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -1808,7 +1808,7 @@ def delete_service_cidr( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_service_cidr delete a ServiceCIDR @@ -1876,8 +1876,8 @@ def delete_service_cidr( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -1916,7 +1916,7 @@ def delete_service_cidr_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_service_cidr delete a ServiceCIDR @@ -1984,8 +1984,8 @@ def delete_service_cidr_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/node_v1_api.py b/kubernetes/client/api/node_v1_api.py index 2b4031a576..6e8ef36975 100644 --- a/kubernetes/client/api/node_v1_api.py +++ b/kubernetes/client/api/node_v1_api.py @@ -789,7 +789,7 @@ def delete_runtime_class( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_runtime_class delete a RuntimeClass @@ -857,8 +857,8 @@ def delete_runtime_class( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -897,7 +897,7 @@ def delete_runtime_class_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_runtime_class delete a RuntimeClass @@ -965,8 +965,8 @@ def delete_runtime_class_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/policy_v1_api.py b/kubernetes/client/api/policy_v1_api.py index 4a0b22bb4e..58b9ba91bb 100644 --- a/kubernetes/client/api/policy_v1_api.py +++ b/kubernetes/client/api/policy_v1_api.py @@ -812,7 +812,7 @@ def delete_namespaced_pod_disruption_budget( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_namespaced_pod_disruption_budget delete a PodDisruptionBudget @@ -883,8 +883,8 @@ def delete_namespaced_pod_disruption_budget( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -924,7 +924,7 @@ def delete_namespaced_pod_disruption_budget_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_namespaced_pod_disruption_budget delete a PodDisruptionBudget @@ -995,8 +995,8 @@ def delete_namespaced_pod_disruption_budget_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/rbac_authorization_v1_api.py b/kubernetes/client/api/rbac_authorization_v1_api.py index b9c16d86c8..3b9c9e6bb3 100644 --- a/kubernetes/client/api/rbac_authorization_v1_api.py +++ b/kubernetes/client/api/rbac_authorization_v1_api.py @@ -1240,7 +1240,7 @@ def delete_cluster_role( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_cluster_role delete a ClusterRole @@ -1308,8 +1308,8 @@ def delete_cluster_role( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -1348,7 +1348,7 @@ def delete_cluster_role_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_cluster_role delete a ClusterRole @@ -1416,8 +1416,8 @@ def delete_cluster_role_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -1556,7 +1556,7 @@ def delete_cluster_role_binding( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_cluster_role_binding delete a ClusterRoleBinding @@ -1624,8 +1624,8 @@ def delete_cluster_role_binding( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -1664,7 +1664,7 @@ def delete_cluster_role_binding_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_cluster_role_binding delete a ClusterRoleBinding @@ -1732,8 +1732,8 @@ def delete_cluster_role_binding_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -3575,7 +3575,7 @@ def delete_namespaced_role( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_namespaced_role delete a Role @@ -3646,8 +3646,8 @@ def delete_namespaced_role( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -3687,7 +3687,7 @@ def delete_namespaced_role_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_namespaced_role delete a Role @@ -3758,8 +3758,8 @@ def delete_namespaced_role_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -3902,7 +3902,7 @@ def delete_namespaced_role_binding( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_namespaced_role_binding delete a RoleBinding @@ -3973,8 +3973,8 @@ def delete_namespaced_role_binding( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -4014,7 +4014,7 @@ def delete_namespaced_role_binding_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_namespaced_role_binding delete a RoleBinding @@ -4085,8 +4085,8 @@ def delete_namespaced_role_binding_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/scheduling_v1_api.py b/kubernetes/client/api/scheduling_v1_api.py index 40eb2bbf8f..a98af66170 100644 --- a/kubernetes/client/api/scheduling_v1_api.py +++ b/kubernetes/client/api/scheduling_v1_api.py @@ -789,7 +789,7 @@ def delete_priority_class( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_priority_class delete a PriorityClass @@ -857,8 +857,8 @@ def delete_priority_class( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -897,7 +897,7 @@ def delete_priority_class_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_priority_class delete a PriorityClass @@ -965,8 +965,8 @@ def delete_priority_class_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/scheduling_v1alpha2_api.py b/kubernetes/client/api/scheduling_v1alpha2_api.py index 228e26a380..dd63a825ce 100644 --- a/kubernetes/client/api/scheduling_v1alpha2_api.py +++ b/kubernetes/client/api/scheduling_v1alpha2_api.py @@ -1537,7 +1537,7 @@ def delete_namespaced_pod_group( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_namespaced_pod_group delete a PodGroup @@ -1608,8 +1608,8 @@ def delete_namespaced_pod_group( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -1649,7 +1649,7 @@ def delete_namespaced_pod_group_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_namespaced_pod_group delete a PodGroup @@ -1720,8 +1720,8 @@ def delete_namespaced_pod_group_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -1864,7 +1864,7 @@ def delete_namespaced_workload( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_namespaced_workload delete a Workload @@ -1935,8 +1935,8 @@ def delete_namespaced_workload( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -1976,7 +1976,7 @@ def delete_namespaced_workload_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_namespaced_workload delete a Workload @@ -2047,8 +2047,8 @@ def delete_namespaced_workload_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/storage_v1_api.py b/kubernetes/client/api/storage_v1_api.py index fb3b3c0a40..96091b3d9c 100644 --- a/kubernetes/client/api/storage_v1_api.py +++ b/kubernetes/client/api/storage_v1_api.py @@ -4959,7 +4959,7 @@ def delete_namespaced_csi_storage_capacity( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_namespaced_csi_storage_capacity delete a CSIStorageCapacity @@ -5030,8 +5030,8 @@ def delete_namespaced_csi_storage_capacity( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -5071,7 +5071,7 @@ def delete_namespaced_csi_storage_capacity_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_namespaced_csi_storage_capacity delete a CSIStorageCapacity @@ -5142,8 +5142,8 @@ def delete_namespaced_csi_storage_capacity_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/storagemigration_v1beta1_api.py b/kubernetes/client/api/storagemigration_v1beta1_api.py index 6577ce7abf..f04aa9fc02 100644 --- a/kubernetes/client/api/storagemigration_v1beta1_api.py +++ b/kubernetes/client/api/storagemigration_v1beta1_api.py @@ -789,7 +789,7 @@ def delete_storage_version_migration( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Status: + ) -> object: """delete_storage_version_migration delete a StorageVersionMigration @@ -857,8 +857,8 @@ def delete_storage_version_migration( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( @@ -897,7 +897,7 @@ def delete_storage_version_migration_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Tuple[V1Status, int, Any]: + ) -> Tuple[object, int, Any]: """delete_storage_version_migration delete a StorageVersionMigration @@ -965,8 +965,8 @@ def delete_storage_version_migration_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Status", - '202': "V1Status", + '200': "object", + '202': "object", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/docs/AdmissionregistrationV1Api.md b/kubernetes/docs/AdmissionregistrationV1Api.md index 5f595f7f31..0c5e08e799 100644 --- a/kubernetes/docs/AdmissionregistrationV1Api.md +++ b/kubernetes/docs/AdmissionregistrationV1Api.md @@ -1223,7 +1223,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_mutating_admission_policy** -> V1Status delete_mutating_admission_policy(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_mutating_admission_policy(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a MutatingAdmissionPolicy @@ -1234,7 +1234,6 @@ delete a MutatingAdmissionPolicy ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -1294,7 +1293,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization @@ -1316,7 +1315,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_mutating_admission_policy_binding** -> V1Status delete_mutating_admission_policy_binding(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_mutating_admission_policy_binding(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a MutatingAdmissionPolicyBinding @@ -1327,7 +1326,6 @@ delete a MutatingAdmissionPolicyBinding ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -1387,7 +1385,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization @@ -1409,7 +1407,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_mutating_webhook_configuration** -> V1Status delete_mutating_webhook_configuration(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_mutating_webhook_configuration(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a MutatingWebhookConfiguration @@ -1420,7 +1418,6 @@ delete a MutatingWebhookConfiguration ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -1480,7 +1477,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization @@ -1502,7 +1499,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_validating_admission_policy** -> V1Status delete_validating_admission_policy(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_validating_admission_policy(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a ValidatingAdmissionPolicy @@ -1513,7 +1510,6 @@ delete a ValidatingAdmissionPolicy ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -1573,7 +1569,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization @@ -1595,7 +1591,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_validating_admission_policy_binding** -> V1Status delete_validating_admission_policy_binding(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_validating_admission_policy_binding(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a ValidatingAdmissionPolicyBinding @@ -1606,7 +1602,6 @@ delete a ValidatingAdmissionPolicyBinding ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -1666,7 +1661,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization @@ -1688,7 +1683,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_validating_webhook_configuration** -> V1Status delete_validating_webhook_configuration(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_validating_webhook_configuration(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a ValidatingWebhookConfiguration @@ -1699,7 +1694,6 @@ delete a ValidatingWebhookConfiguration ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -1759,7 +1753,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization diff --git a/kubernetes/docs/AdmissionregistrationV1alpha1Api.md b/kubernetes/docs/AdmissionregistrationV1alpha1Api.md index f5fe0f987f..27d90ec57c 100644 --- a/kubernetes/docs/AdmissionregistrationV1alpha1Api.md +++ b/kubernetes/docs/AdmissionregistrationV1alpha1Api.md @@ -412,7 +412,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_mutating_admission_policy** -> V1Status delete_mutating_admission_policy(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_mutating_admission_policy(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a MutatingAdmissionPolicy @@ -423,7 +423,6 @@ delete a MutatingAdmissionPolicy ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -483,7 +482,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization @@ -505,7 +504,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_mutating_admission_policy_binding** -> V1Status delete_mutating_admission_policy_binding(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_mutating_admission_policy_binding(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a MutatingAdmissionPolicyBinding @@ -516,7 +515,6 @@ delete a MutatingAdmissionPolicyBinding ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -576,7 +574,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization diff --git a/kubernetes/docs/AdmissionregistrationV1beta1Api.md b/kubernetes/docs/AdmissionregistrationV1beta1Api.md index 89774fce2d..9b3d7250eb 100644 --- a/kubernetes/docs/AdmissionregistrationV1beta1Api.md +++ b/kubernetes/docs/AdmissionregistrationV1beta1Api.md @@ -412,7 +412,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_mutating_admission_policy** -> V1Status delete_mutating_admission_policy(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_mutating_admission_policy(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a MutatingAdmissionPolicy @@ -423,7 +423,6 @@ delete a MutatingAdmissionPolicy ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -483,7 +482,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization @@ -505,7 +504,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_mutating_admission_policy_binding** -> V1Status delete_mutating_admission_policy_binding(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_mutating_admission_policy_binding(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a MutatingAdmissionPolicyBinding @@ -516,7 +515,6 @@ delete a MutatingAdmissionPolicyBinding ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -576,7 +574,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization diff --git a/kubernetes/docs/ApiextensionsV1Api.md b/kubernetes/docs/ApiextensionsV1Api.md index a23975731b..7ff5129344 100644 --- a/kubernetes/docs/ApiextensionsV1Api.md +++ b/kubernetes/docs/ApiextensionsV1Api.md @@ -213,7 +213,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_custom_resource_definition** -> V1Status delete_custom_resource_definition(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_custom_resource_definition(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a CustomResourceDefinition @@ -224,7 +224,6 @@ delete a CustomResourceDefinition ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -284,7 +283,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization diff --git a/kubernetes/docs/ApiregistrationV1Api.md b/kubernetes/docs/ApiregistrationV1Api.md index 782bcfe6f0..be57390ef5 100644 --- a/kubernetes/docs/ApiregistrationV1Api.md +++ b/kubernetes/docs/ApiregistrationV1Api.md @@ -105,7 +105,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_api_service** -> V1Status delete_api_service(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_api_service(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete an APIService @@ -116,7 +116,6 @@ delete an APIService ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -176,7 +175,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization diff --git a/kubernetes/docs/AppsV1Api.md b/kubernetes/docs/AppsV1Api.md index d95c838500..61f1122102 100644 --- a/kubernetes/docs/AppsV1Api.md +++ b/kubernetes/docs/AppsV1Api.md @@ -1064,7 +1064,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_controller_revision** -> V1Status delete_namespaced_controller_revision(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_namespaced_controller_revision(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a ControllerRevision @@ -1075,7 +1075,6 @@ delete a ControllerRevision ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -1137,7 +1136,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization @@ -1159,7 +1158,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_daemon_set** -> V1Status delete_namespaced_daemon_set(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_namespaced_daemon_set(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a DaemonSet @@ -1170,7 +1169,6 @@ delete a DaemonSet ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -1232,7 +1230,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization @@ -1254,7 +1252,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_deployment** -> V1Status delete_namespaced_deployment(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_namespaced_deployment(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a Deployment @@ -1265,7 +1263,6 @@ delete a Deployment ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -1327,7 +1324,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization @@ -1349,7 +1346,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_replica_set** -> V1Status delete_namespaced_replica_set(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_namespaced_replica_set(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a ReplicaSet @@ -1360,7 +1357,6 @@ delete a ReplicaSet ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -1422,7 +1418,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization @@ -1444,7 +1440,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_stateful_set** -> V1Status delete_namespaced_stateful_set(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_namespaced_stateful_set(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a StatefulSet @@ -1455,7 +1451,6 @@ delete a StatefulSet ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -1517,7 +1512,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization diff --git a/kubernetes/docs/AutoscalingV1Api.md b/kubernetes/docs/AutoscalingV1Api.md index b8350834d4..7098aca6e2 100644 --- a/kubernetes/docs/AutoscalingV1Api.md +++ b/kubernetes/docs/AutoscalingV1Api.md @@ -218,7 +218,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_horizontal_pod_autoscaler** -> V1Status delete_namespaced_horizontal_pod_autoscaler(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_namespaced_horizontal_pod_autoscaler(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a HorizontalPodAutoscaler @@ -229,7 +229,6 @@ delete a HorizontalPodAutoscaler ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -291,7 +290,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization diff --git a/kubernetes/docs/AutoscalingV2Api.md b/kubernetes/docs/AutoscalingV2Api.md index af7a75792a..9112508c17 100644 --- a/kubernetes/docs/AutoscalingV2Api.md +++ b/kubernetes/docs/AutoscalingV2Api.md @@ -218,7 +218,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_horizontal_pod_autoscaler** -> V1Status delete_namespaced_horizontal_pod_autoscaler(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_namespaced_horizontal_pod_autoscaler(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a HorizontalPodAutoscaler @@ -229,7 +229,6 @@ delete a HorizontalPodAutoscaler ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -291,7 +290,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization diff --git a/kubernetes/docs/BatchV1Api.md b/kubernetes/docs/BatchV1Api.md index eb5704c60b..eb9e8f28bc 100644 --- a/kubernetes/docs/BatchV1Api.md +++ b/kubernetes/docs/BatchV1Api.md @@ -428,7 +428,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_cron_job** -> V1Status delete_namespaced_cron_job(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_namespaced_cron_job(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a CronJob @@ -439,7 +439,6 @@ delete a CronJob ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -501,7 +500,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization @@ -523,7 +522,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_job** -> V1Status delete_namespaced_job(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_namespaced_job(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a Job @@ -534,7 +533,6 @@ delete a Job ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -596,7 +594,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization diff --git a/kubernetes/docs/CertificatesV1Api.md b/kubernetes/docs/CertificatesV1Api.md index 0c6c930e72..955af2b2ca 100644 --- a/kubernetes/docs/CertificatesV1Api.md +++ b/kubernetes/docs/CertificatesV1Api.md @@ -108,7 +108,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_certificate_signing_request** -> V1Status delete_certificate_signing_request(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_certificate_signing_request(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a CertificateSigningRequest @@ -119,7 +119,6 @@ delete a CertificateSigningRequest ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -179,7 +178,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization diff --git a/kubernetes/docs/CertificatesV1alpha1Api.md b/kubernetes/docs/CertificatesV1alpha1Api.md index 38c53998d4..f38b10fad3 100644 --- a/kubernetes/docs/CertificatesV1alpha1Api.md +++ b/kubernetes/docs/CertificatesV1alpha1Api.md @@ -102,7 +102,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_cluster_trust_bundle** -> V1Status delete_cluster_trust_bundle(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_cluster_trust_bundle(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a ClusterTrustBundle @@ -113,7 +113,6 @@ delete a ClusterTrustBundle ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -173,7 +172,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization diff --git a/kubernetes/docs/CertificatesV1beta1Api.md b/kubernetes/docs/CertificatesV1beta1Api.md index 647f5eca6f..4965edb2df 100644 --- a/kubernetes/docs/CertificatesV1beta1Api.md +++ b/kubernetes/docs/CertificatesV1beta1Api.md @@ -202,7 +202,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_cluster_trust_bundle** -> V1Status delete_cluster_trust_bundle(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_cluster_trust_bundle(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a ClusterTrustBundle @@ -213,7 +213,6 @@ delete a ClusterTrustBundle ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -273,7 +272,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization @@ -513,7 +512,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_pod_certificate_request** -> V1Status delete_namespaced_pod_certificate_request(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_namespaced_pod_certificate_request(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a PodCertificateRequest @@ -524,7 +523,6 @@ delete a PodCertificateRequest ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -586,7 +584,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization diff --git a/kubernetes/docs/CoordinationV1Api.md b/kubernetes/docs/CoordinationV1Api.md index ad729183b2..d23fd80b95 100644 --- a/kubernetes/docs/CoordinationV1Api.md +++ b/kubernetes/docs/CoordinationV1Api.md @@ -215,7 +215,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_lease** -> V1Status delete_namespaced_lease(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_namespaced_lease(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a Lease @@ -226,7 +226,6 @@ delete a Lease ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -288,7 +287,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization diff --git a/kubernetes/docs/CoordinationV1alpha2Api.md b/kubernetes/docs/CoordinationV1alpha2Api.md index b6d4aab5eb..f0a870074a 100644 --- a/kubernetes/docs/CoordinationV1alpha2Api.md +++ b/kubernetes/docs/CoordinationV1alpha2Api.md @@ -215,7 +215,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_lease_candidate** -> V1Status delete_namespaced_lease_candidate(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_namespaced_lease_candidate(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a LeaseCandidate @@ -226,7 +226,6 @@ delete a LeaseCandidate ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -288,7 +287,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization diff --git a/kubernetes/docs/CoordinationV1beta1Api.md b/kubernetes/docs/CoordinationV1beta1Api.md index 870b172ce1..2cb6a57dae 100644 --- a/kubernetes/docs/CoordinationV1beta1Api.md +++ b/kubernetes/docs/CoordinationV1beta1Api.md @@ -215,7 +215,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_lease_candidate** -> V1Status delete_namespaced_lease_candidate(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_namespaced_lease_candidate(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a LeaseCandidate @@ -226,7 +226,6 @@ delete a LeaseCandidate ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -288,7 +287,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization diff --git a/kubernetes/docs/CoreV1Api.md b/kubernetes/docs/CoreV1Api.md index 2edfc49ed4..a6663e9b1e 100644 --- a/kubernetes/docs/CoreV1Api.md +++ b/kubernetes/docs/CoreV1Api.md @@ -7422,7 +7422,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_config_map** -> V1Status delete_namespaced_config_map(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_namespaced_config_map(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a ConfigMap @@ -7433,7 +7433,6 @@ delete a ConfigMap ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -7495,7 +7494,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization @@ -7517,7 +7516,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_endpoints** -> V1Status delete_namespaced_endpoints(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_namespaced_endpoints(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete Endpoints @@ -7528,7 +7527,6 @@ delete Endpoints ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -7590,7 +7588,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization @@ -7612,7 +7610,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_event** -> V1Status delete_namespaced_event(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_namespaced_event(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete an Event @@ -7623,7 +7621,6 @@ delete an Event ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -7685,7 +7682,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization @@ -7707,7 +7704,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_limit_range** -> V1Status delete_namespaced_limit_range(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_namespaced_limit_range(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a LimitRange @@ -7718,7 +7715,6 @@ delete a LimitRange ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -7780,7 +7776,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization @@ -8087,7 +8083,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_replication_controller** -> V1Status delete_namespaced_replication_controller(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_namespaced_replication_controller(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a ReplicationController @@ -8098,7 +8094,6 @@ delete a ReplicationController ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -8160,7 +8155,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization @@ -8277,7 +8272,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_secret** -> V1Status delete_namespaced_secret(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_namespaced_secret(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a Secret @@ -8288,7 +8283,6 @@ delete a Secret ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -8350,7 +8344,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization @@ -8562,7 +8556,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_node** -> V1Status delete_node(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_node(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a Node @@ -8573,7 +8567,6 @@ delete a Node ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -8633,7 +8626,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization diff --git a/kubernetes/docs/DiscoveryV1Api.md b/kubernetes/docs/DiscoveryV1Api.md index ad147def6e..ce5754a3af 100644 --- a/kubernetes/docs/DiscoveryV1Api.md +++ b/kubernetes/docs/DiscoveryV1Api.md @@ -215,7 +215,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_endpoint_slice** -> V1Status delete_namespaced_endpoint_slice(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_namespaced_endpoint_slice(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete an EndpointSlice @@ -226,7 +226,6 @@ delete an EndpointSlice ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -288,7 +287,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization diff --git a/kubernetes/docs/EventsV1Api.md b/kubernetes/docs/EventsV1Api.md index 88c8ac97fa..d3bd991c29 100644 --- a/kubernetes/docs/EventsV1Api.md +++ b/kubernetes/docs/EventsV1Api.md @@ -215,7 +215,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_event** -> V1Status delete_namespaced_event(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_namespaced_event(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete an Event @@ -226,7 +226,6 @@ delete an Event ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -288,7 +287,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization diff --git a/kubernetes/docs/FlowcontrolApiserverV1Api.md b/kubernetes/docs/FlowcontrolApiserverV1Api.md index d2759300d7..1d03844763 100644 --- a/kubernetes/docs/FlowcontrolApiserverV1Api.md +++ b/kubernetes/docs/FlowcontrolApiserverV1Api.md @@ -418,7 +418,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_flow_schema** -> V1Status delete_flow_schema(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_flow_schema(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a FlowSchema @@ -429,7 +429,6 @@ delete a FlowSchema ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -489,7 +488,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization @@ -511,7 +510,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_priority_level_configuration** -> V1Status delete_priority_level_configuration(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_priority_level_configuration(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a PriorityLevelConfiguration @@ -522,7 +521,6 @@ delete a PriorityLevelConfiguration ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -582,7 +580,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization diff --git a/kubernetes/docs/InternalApiserverV1alpha1Api.md b/kubernetes/docs/InternalApiserverV1alpha1Api.md index 37d17ef0a4..97e2f2f584 100644 --- a/kubernetes/docs/InternalApiserverV1alpha1Api.md +++ b/kubernetes/docs/InternalApiserverV1alpha1Api.md @@ -213,7 +213,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_storage_version** -> V1Status delete_storage_version(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_storage_version(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a StorageVersion @@ -224,7 +224,6 @@ delete a StorageVersion ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -284,7 +283,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization diff --git a/kubernetes/docs/NetworkingV1Api.md b/kubernetes/docs/NetworkingV1Api.md index e83838dec4..0cee83e851 100644 --- a/kubernetes/docs/NetworkingV1Api.md +++ b/kubernetes/docs/NetworkingV1Api.md @@ -1034,7 +1034,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_ingress_class** -> V1Status delete_ingress_class(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_ingress_class(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete an IngressClass @@ -1045,7 +1045,6 @@ delete an IngressClass ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -1105,7 +1104,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization @@ -1127,7 +1126,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_ip_address** -> V1Status delete_ip_address(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_ip_address(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete an IPAddress @@ -1138,7 +1137,6 @@ delete an IPAddress ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -1198,7 +1196,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization @@ -1220,7 +1218,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_ingress** -> V1Status delete_namespaced_ingress(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_namespaced_ingress(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete an Ingress @@ -1231,7 +1229,6 @@ delete an Ingress ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -1293,7 +1290,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization @@ -1315,7 +1312,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_network_policy** -> V1Status delete_namespaced_network_policy(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_namespaced_network_policy(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a NetworkPolicy @@ -1326,7 +1323,6 @@ delete a NetworkPolicy ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -1388,7 +1384,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization @@ -1410,7 +1406,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_service_cidr** -> V1Status delete_service_cidr(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_service_cidr(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a ServiceCIDR @@ -1421,7 +1417,6 @@ delete a ServiceCIDR ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -1481,7 +1476,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization diff --git a/kubernetes/docs/NetworkingV1beta1Api.md b/kubernetes/docs/NetworkingV1beta1Api.md index 252c4e1b8b..943e76959f 100644 --- a/kubernetes/docs/NetworkingV1beta1Api.md +++ b/kubernetes/docs/NetworkingV1beta1Api.md @@ -415,7 +415,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_ip_address** -> V1Status delete_ip_address(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_ip_address(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete an IPAddress @@ -426,7 +426,6 @@ delete an IPAddress ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -486,7 +485,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization @@ -508,7 +507,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_service_cidr** -> V1Status delete_service_cidr(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_service_cidr(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a ServiceCIDR @@ -519,7 +518,6 @@ delete a ServiceCIDR ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -579,7 +577,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization diff --git a/kubernetes/docs/NodeV1Api.md b/kubernetes/docs/NodeV1Api.md index cbe707d0d5..d1b0cd2243 100644 --- a/kubernetes/docs/NodeV1Api.md +++ b/kubernetes/docs/NodeV1Api.md @@ -210,7 +210,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_runtime_class** -> V1Status delete_runtime_class(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_runtime_class(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a RuntimeClass @@ -221,7 +221,6 @@ delete a RuntimeClass ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -281,7 +280,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization diff --git a/kubernetes/docs/PolicyV1Api.md b/kubernetes/docs/PolicyV1Api.md index 6495ce487b..b2882c398d 100644 --- a/kubernetes/docs/PolicyV1Api.md +++ b/kubernetes/docs/PolicyV1Api.md @@ -218,7 +218,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_pod_disruption_budget** -> V1Status delete_namespaced_pod_disruption_budget(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_namespaced_pod_disruption_budget(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a PodDisruptionBudget @@ -229,7 +229,6 @@ delete a PodDisruptionBudget ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -291,7 +290,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization diff --git a/kubernetes/docs/RbacAuthorizationV1Api.md b/kubernetes/docs/RbacAuthorizationV1Api.md index 70b4337604..2645b84639 100644 --- a/kubernetes/docs/RbacAuthorizationV1Api.md +++ b/kubernetes/docs/RbacAuthorizationV1Api.md @@ -390,7 +390,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_cluster_role** -> V1Status delete_cluster_role(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_cluster_role(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a ClusterRole @@ -401,7 +401,6 @@ delete a ClusterRole ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -461,7 +460,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization @@ -483,7 +482,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_cluster_role_binding** -> V1Status delete_cluster_role_binding(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_cluster_role_binding(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a ClusterRoleBinding @@ -494,7 +493,6 @@ delete a ClusterRoleBinding ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -554,7 +552,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization @@ -1012,7 +1010,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_role** -> V1Status delete_namespaced_role(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_namespaced_role(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a Role @@ -1023,7 +1021,6 @@ delete a Role ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -1085,7 +1082,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization @@ -1107,7 +1104,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_role_binding** -> V1Status delete_namespaced_role_binding(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_namespaced_role_binding(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a RoleBinding @@ -1118,7 +1115,6 @@ delete a RoleBinding ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -1180,7 +1176,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization diff --git a/kubernetes/docs/SchedulingV1Api.md b/kubernetes/docs/SchedulingV1Api.md index 70f8207c4f..78706422d0 100644 --- a/kubernetes/docs/SchedulingV1Api.md +++ b/kubernetes/docs/SchedulingV1Api.md @@ -210,7 +210,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_priority_class** -> V1Status delete_priority_class(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_priority_class(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a PriorityClass @@ -221,7 +221,6 @@ delete a PriorityClass ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -281,7 +280,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization diff --git a/kubernetes/docs/SchedulingV1alpha2Api.md b/kubernetes/docs/SchedulingV1alpha2Api.md index ac6a9cde27..1818005222 100644 --- a/kubernetes/docs/SchedulingV1alpha2Api.md +++ b/kubernetes/docs/SchedulingV1alpha2Api.md @@ -425,7 +425,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_pod_group** -> V1Status delete_namespaced_pod_group(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_namespaced_pod_group(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a PodGroup @@ -436,7 +436,6 @@ delete a PodGroup ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -498,7 +497,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization @@ -520,7 +519,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_workload** -> V1Status delete_namespaced_workload(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_namespaced_workload(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a Workload @@ -531,7 +530,6 @@ delete a Workload ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -593,7 +591,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization diff --git a/kubernetes/docs/StorageV1Api.md b/kubernetes/docs/StorageV1Api.md index 25d46482d5..3e2b0fbcc6 100644 --- a/kubernetes/docs/StorageV1Api.md +++ b/kubernetes/docs/StorageV1Api.md @@ -1414,7 +1414,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_csi_storage_capacity** -> V1Status delete_namespaced_csi_storage_capacity(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_namespaced_csi_storage_capacity(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a CSIStorageCapacity @@ -1425,7 +1425,6 @@ delete a CSIStorageCapacity ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -1487,7 +1486,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization diff --git a/kubernetes/docs/StoragemigrationV1beta1Api.md b/kubernetes/docs/StoragemigrationV1beta1Api.md index 01e65fbd6d..b37990119d 100644 --- a/kubernetes/docs/StoragemigrationV1beta1Api.md +++ b/kubernetes/docs/StoragemigrationV1beta1Api.md @@ -213,7 +213,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_storage_version_migration** -> V1Status delete_storage_version_migration(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> object delete_storage_version_migration(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, ignore_store_read_error_with_cluster_breaking_potential=ignore_store_read_error_with_cluster_breaking_potential, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) delete a StorageVersionMigration @@ -224,7 +224,6 @@ delete a StorageVersionMigration ```python import kubernetes.client from kubernetes.client.models.v1_delete_options import V1DeleteOptions -from kubernetes.client.models.v1_status import V1Status from kubernetes.client.rest import ApiException from pprint import pprint @@ -284,7 +283,7 @@ Name | Type | Description | Notes ### Return type -[**V1Status**](V1Status.md) +**object** ### Authorization diff --git a/kubernetes/e2e_test/test_batch.py b/kubernetes/e2e_test/test_batch.py index bb2bbb63c7..a151244610 100644 --- a/kubernetes/e2e_test/test_batch.py +++ b/kubernetes/e2e_test/test_batch.py @@ -58,5 +58,14 @@ def test_job_apis(self): self.assertEqual('sleep 5', resp.spec.template.spec.containers[0].command[2]) self.assertEqual('Never', resp.spec.template.spec.restart_policy) - api.delete_namespaced_job( - name=name, namespace='default', propagation_policy='Background') + deleted = api.delete_namespaced_job( + name=name, namespace='default', + body={'propagationPolicy': 'Background'}) + self.assertIsInstance(deleted, dict) + self.assertIn(deleted['kind'], ('Job', 'Status')) + if deleted['kind'] == 'Job': + self.assertEqual(name, deleted['metadata']['name']) + else: + self.assertEqual('Success', deleted['status']) + if 'details' in deleted: + self.assertEqual(name, deleted['details']['name']) diff --git a/kubernetes/test/test_generated_api.py b/kubernetes/test/test_generated_api.py index e066ba15d4..0e001c571d 100644 --- a/kubernetes/test/test_generated_api.py +++ b/kubernetes/test/test_generated_api.py @@ -24,6 +24,7 @@ from kubernetes.client import ( ApiClient, + BatchV1Api, Configuration, CoreV1Api, CustomObjectsApi, @@ -73,6 +74,8 @@ def do_POST(self): self._respond() def do_DELETE(self): + length = int(self.headers.get('Content-Length', 0)) + self.server.request_body = self.rfile.read(length) self.server.request_path = self.path self._respond() @@ -441,6 +444,81 @@ def test_delete_namespace_accepts_namespace_and_status_responses(self): self.assertEqual( '/api/v1/namespaces/sample', self.server.request_path) + def test_delete_job_preserves_resource_and_status_responses(self): + responses = ( + ( + { + 'apiVersion': 'batch/v1', + 'kind': 'Job', + 'metadata': {'name': 'sample'}, + 'spec': {'parallelism': 3}, + 'status': {'ready': 0}, + }, + {'ready': 0}, + ), + ( + { + 'apiVersion': 'v1', + 'kind': 'Status', + 'status': 'Success', + 'details': {'name': 'sample', 'kind': 'jobs'}, + }, + 'Success', + ), + ) + + for response_status in (200, 202): + for response, expected_status in responses: + with self.subTest( + status=response_status, kind=response['kind'] + ): + self.server.response_status = response_status + self.server.response_body = json.dumps(response).encode() + + deleted = BatchV1Api( + self.api_client, + ).delete_namespaced_job( + name='sample', namespace='default', body={}, + ) + + self.assertIsInstance(deleted, dict) + self.assertIsNot(response, deleted) + self.assertEqual(response, deleted) + self.assertEqual(response['kind'], deleted['kind']) + self.assertEqual(expected_status, deleted['status']) + if response['kind'] == 'Job': + self.assertIsInstance(deleted['status'], dict) + self.assertIsNot(response['status'], deleted['status']) + self.assertEqual(3, deleted['spec']['parallelism']) + else: + self.assertIsInstance(deleted['status'], str) + self.assertEqual({}, json.loads(self.server.request_body)) + self.assertEqual( + '/apis/batch/v1/namespaces/default/jobs/sample', + self.server.request_path, + ) + + def test_delete_job_with_http_info_preserves_resource_response(self): + response = { + 'apiVersion': 'batch/v1', + 'kind': 'Job', + 'metadata': {'name': 'sample'}, + 'status': {'ready': 0}, + } + self.server.response_status = 202 + self.server.response_body = json.dumps(response).encode() + + deleted, status, headers = BatchV1Api( + self.api_client, + ).delete_namespaced_job_with_http_info( + name='sample', namespace='default', body={}, + ) + + self.assertEqual(response, deleted) + self.assertEqual(202, status) + self.assertEqual('application/json', headers['Content-Type']) + self.assertEqual({}, json.loads(self.server.request_body)) + def test_builtin_object_patch_defaults_to_strategic_merge_patch(self): body = {'data': {'key': 'value'}}