diff --git a/examples/job_crud.py b/examples/job_crud.py index a6410f289d..cdfe5ef285 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.get('status'))}'") + print(f"Job deleted. status='{api_response.status}'") def main(): diff --git a/kubernetes/aio/client/api/admissionregistration_v1_api.py b/kubernetes/aio/client/api/admissionregistration_v1_api.py index e19362df2a..3cdb672f82 100644 --- a/kubernetes/aio/client/api/admissionregistration_v1_api.py +++ b/kubernetes/aio/client/api/admissionregistration_v1_api.py @@ -5284,7 +5284,7 @@ async 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, - ) -> object: + ) -> V1MutatingAdmissionPolicy | V1Status: """delete_mutating_admission_policy delete a MutatingAdmissionPolicy @@ -5343,8 +5343,8 @@ async def delete_mutating_admission_policy( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1MutatingAdmissionPolicy | V1Status", + '202': "V1MutatingAdmissionPolicy | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -5381,7 +5381,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1MutatingAdmissionPolicy | V1Status]: """delete_mutating_admission_policy delete a MutatingAdmissionPolicy @@ -5440,8 +5440,8 @@ async def delete_mutating_admission_policy_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1MutatingAdmissionPolicy | V1Status", + '202': "V1MutatingAdmissionPolicy | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -5672,7 +5672,7 @@ async 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, - ) -> object: + ) -> V1MutatingAdmissionPolicyBinding | V1Status: """delete_mutating_admission_policy_binding delete a MutatingAdmissionPolicyBinding @@ -5731,8 +5731,8 @@ async def delete_mutating_admission_policy_binding( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1MutatingAdmissionPolicyBinding | V1Status", + '202': "V1MutatingAdmissionPolicyBinding | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -5769,7 +5769,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1MutatingAdmissionPolicyBinding | V1Status]: """delete_mutating_admission_policy_binding delete a MutatingAdmissionPolicyBinding @@ -5828,8 +5828,8 @@ async def delete_mutating_admission_policy_binding_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1MutatingAdmissionPolicyBinding | V1Status", + '202': "V1MutatingAdmissionPolicyBinding | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -6060,7 +6060,7 @@ async 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, - ) -> object: + ) -> V1MutatingWebhookConfiguration | V1Status: """delete_mutating_webhook_configuration delete a MutatingWebhookConfiguration @@ -6119,8 +6119,8 @@ async def delete_mutating_webhook_configuration( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1MutatingWebhookConfiguration | V1Status", + '202': "V1MutatingWebhookConfiguration | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -6157,7 +6157,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1MutatingWebhookConfiguration | V1Status]: """delete_mutating_webhook_configuration delete a MutatingWebhookConfiguration @@ -6216,8 +6216,8 @@ async def delete_mutating_webhook_configuration_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1MutatingWebhookConfiguration | V1Status", + '202': "V1MutatingWebhookConfiguration | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -6448,7 +6448,7 @@ async 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, - ) -> object: + ) -> V1ValidatingAdmissionPolicy | V1Status: """delete_validating_admission_policy delete a ValidatingAdmissionPolicy @@ -6507,8 +6507,8 @@ async def delete_validating_admission_policy( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ValidatingAdmissionPolicy | V1Status", + '202': "V1ValidatingAdmissionPolicy | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -6545,7 +6545,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1ValidatingAdmissionPolicy | V1Status]: """delete_validating_admission_policy delete a ValidatingAdmissionPolicy @@ -6604,8 +6604,8 @@ async def delete_validating_admission_policy_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ValidatingAdmissionPolicy | V1Status", + '202': "V1ValidatingAdmissionPolicy | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -6836,7 +6836,7 @@ async 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, - ) -> object: + ) -> V1ValidatingAdmissionPolicyBinding | V1Status: """delete_validating_admission_policy_binding delete a ValidatingAdmissionPolicyBinding @@ -6895,8 +6895,8 @@ async def delete_validating_admission_policy_binding( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ValidatingAdmissionPolicyBinding | V1Status", + '202': "V1ValidatingAdmissionPolicyBinding | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -6933,7 +6933,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1ValidatingAdmissionPolicyBinding | V1Status]: """delete_validating_admission_policy_binding delete a ValidatingAdmissionPolicyBinding @@ -6992,8 +6992,8 @@ async def delete_validating_admission_policy_binding_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ValidatingAdmissionPolicyBinding | V1Status", + '202': "V1ValidatingAdmissionPolicyBinding | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -7224,7 +7224,7 @@ async 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, - ) -> object: + ) -> V1ValidatingWebhookConfiguration | V1Status: """delete_validating_webhook_configuration delete a ValidatingWebhookConfiguration @@ -7283,8 +7283,8 @@ async def delete_validating_webhook_configuration( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ValidatingWebhookConfiguration | V1Status", + '202': "V1ValidatingWebhookConfiguration | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -7321,7 +7321,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1ValidatingWebhookConfiguration | V1Status]: """delete_validating_webhook_configuration delete a ValidatingWebhookConfiguration @@ -7380,8 +7380,8 @@ async def delete_validating_webhook_configuration_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ValidatingWebhookConfiguration | V1Status", + '202': "V1ValidatingWebhookConfiguration | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/admissionregistration_v1alpha1_api.py b/kubernetes/aio/client/api/admissionregistration_v1alpha1_api.py index f36e8c8719..7269bacce5 100644 --- a/kubernetes/aio/client/api/admissionregistration_v1alpha1_api.py +++ b/kubernetes/aio/client/api/admissionregistration_v1alpha1_api.py @@ -1816,7 +1816,7 @@ async 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, - ) -> object: + ) -> V1alpha1MutatingAdmissionPolicy | V1Status: """delete_mutating_admission_policy delete a MutatingAdmissionPolicy @@ -1875,8 +1875,8 @@ async def delete_mutating_admission_policy( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha1MutatingAdmissionPolicy | V1Status", + '202': "V1alpha1MutatingAdmissionPolicy | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -1913,7 +1913,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1alpha1MutatingAdmissionPolicy | V1Status]: """delete_mutating_admission_policy delete a MutatingAdmissionPolicy @@ -1972,8 +1972,8 @@ async def delete_mutating_admission_policy_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha1MutatingAdmissionPolicy | V1Status", + '202': "V1alpha1MutatingAdmissionPolicy | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -2204,7 +2204,7 @@ async 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, - ) -> object: + ) -> V1alpha1MutatingAdmissionPolicyBinding | V1Status: """delete_mutating_admission_policy_binding delete a MutatingAdmissionPolicyBinding @@ -2263,8 +2263,8 @@ async def delete_mutating_admission_policy_binding( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha1MutatingAdmissionPolicyBinding | V1Status", + '202': "V1alpha1MutatingAdmissionPolicyBinding | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -2301,7 +2301,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1alpha1MutatingAdmissionPolicyBinding | V1Status]: """delete_mutating_admission_policy_binding delete a MutatingAdmissionPolicyBinding @@ -2360,8 +2360,8 @@ async def delete_mutating_admission_policy_binding_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha1MutatingAdmissionPolicyBinding | V1Status", + '202': "V1alpha1MutatingAdmissionPolicyBinding | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/admissionregistration_v1beta1_api.py b/kubernetes/aio/client/api/admissionregistration_v1beta1_api.py index 30070f9607..77f2949b65 100644 --- a/kubernetes/aio/client/api/admissionregistration_v1beta1_api.py +++ b/kubernetes/aio/client/api/admissionregistration_v1beta1_api.py @@ -1816,7 +1816,7 @@ async 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, - ) -> object: + ) -> V1beta1MutatingAdmissionPolicy | V1Status: """delete_mutating_admission_policy delete a MutatingAdmissionPolicy @@ -1875,8 +1875,8 @@ async def delete_mutating_admission_policy( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1beta1MutatingAdmissionPolicy | V1Status", + '202': "V1beta1MutatingAdmissionPolicy | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -1913,7 +1913,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1beta1MutatingAdmissionPolicy | V1Status]: """delete_mutating_admission_policy delete a MutatingAdmissionPolicy @@ -1972,8 +1972,8 @@ async def delete_mutating_admission_policy_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1beta1MutatingAdmissionPolicy | V1Status", + '202': "V1beta1MutatingAdmissionPolicy | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -2204,7 +2204,7 @@ async 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, - ) -> object: + ) -> V1beta1MutatingAdmissionPolicyBinding | V1Status: """delete_mutating_admission_policy_binding delete a MutatingAdmissionPolicyBinding @@ -2263,8 +2263,8 @@ async def delete_mutating_admission_policy_binding( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1beta1MutatingAdmissionPolicyBinding | V1Status", + '202': "V1beta1MutatingAdmissionPolicyBinding | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -2301,7 +2301,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1beta1MutatingAdmissionPolicyBinding | V1Status]: """delete_mutating_admission_policy_binding delete a MutatingAdmissionPolicyBinding @@ -2360,8 +2360,8 @@ async def delete_mutating_admission_policy_binding_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1beta1MutatingAdmissionPolicyBinding | V1Status", + '202': "V1beta1MutatingAdmissionPolicyBinding | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/apiextensions_v1_api.py b/kubernetes/aio/client/api/apiextensions_v1_api.py index 0911f44926..c8033a2c57 100644 --- a/kubernetes/aio/client/api/apiextensions_v1_api.py +++ b/kubernetes/aio/client/api/apiextensions_v1_api.py @@ -949,7 +949,7 @@ async 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, - ) -> object: + ) -> V1CustomResourceDefinition | V1Status: """delete_custom_resource_definition delete a CustomResourceDefinition @@ -1008,8 +1008,8 @@ async def delete_custom_resource_definition( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1CustomResourceDefinition | V1Status", + '202': "V1CustomResourceDefinition | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -1046,7 +1046,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1CustomResourceDefinition | V1Status]: """delete_custom_resource_definition delete a CustomResourceDefinition @@ -1105,8 +1105,8 @@ async def delete_custom_resource_definition_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1CustomResourceDefinition | V1Status", + '202': "V1CustomResourceDefinition | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/apiregistration_v1_api.py b/kubernetes/aio/client/api/apiregistration_v1_api.py index 5704c1e6a1..fb9bc983ff 100644 --- a/kubernetes/aio/client/api/apiregistration_v1_api.py +++ b/kubernetes/aio/client/api/apiregistration_v1_api.py @@ -426,7 +426,7 @@ async 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, - ) -> object: + ) -> V1APIService | V1Status: """delete_api_service delete an APIService @@ -485,8 +485,8 @@ async def delete_api_service( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1APIService | V1Status", + '202': "V1APIService | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -523,7 +523,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1APIService | V1Status]: """delete_api_service delete an APIService @@ -582,8 +582,8 @@ async def delete_api_service_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1APIService | V1Status", + '202': "V1APIService | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/apps_v1_api.py b/kubernetes/aio/client/api/apps_v1_api.py index a9aea2b6b8..91fc4a2a32 100644 --- a/kubernetes/aio/client/api/apps_v1_api.py +++ b/kubernetes/aio/client/api/apps_v1_api.py @@ -4569,7 +4569,7 @@ async 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, - ) -> object: + ) -> V1ControllerRevision | V1Status: """delete_namespaced_controller_revision delete a ControllerRevision @@ -4631,8 +4631,8 @@ async def delete_namespaced_controller_revision( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ControllerRevision | V1Status", + '202': "V1ControllerRevision | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -4670,7 +4670,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1ControllerRevision | V1Status]: """delete_namespaced_controller_revision delete a ControllerRevision @@ -4732,8 +4732,8 @@ async def delete_namespaced_controller_revision_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ControllerRevision | V1Status", + '202': "V1ControllerRevision | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -4972,7 +4972,7 @@ async 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, - ) -> object: + ) -> V1DaemonSet | V1Status: """delete_namespaced_daemon_set delete a DaemonSet @@ -5034,8 +5034,8 @@ async def delete_namespaced_daemon_set( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1DaemonSet | V1Status", + '202': "V1DaemonSet | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -5073,7 +5073,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1DaemonSet | V1Status]: """delete_namespaced_daemon_set delete a DaemonSet @@ -5135,8 +5135,8 @@ async def delete_namespaced_daemon_set_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1DaemonSet | V1Status", + '202': "V1DaemonSet | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -5375,7 +5375,7 @@ async 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, - ) -> object: + ) -> V1Deployment | V1Status: """delete_namespaced_deployment delete a Deployment @@ -5437,8 +5437,8 @@ async def delete_namespaced_deployment( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1Deployment | V1Status", + '202': "V1Deployment | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -5476,7 +5476,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1Deployment | V1Status]: """delete_namespaced_deployment delete a Deployment @@ -5538,8 +5538,8 @@ async def delete_namespaced_deployment_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1Deployment | V1Status", + '202': "V1Deployment | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -5778,7 +5778,7 @@ async 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, - ) -> object: + ) -> V1ReplicaSet | V1Status: """delete_namespaced_replica_set delete a ReplicaSet @@ -5840,8 +5840,8 @@ async def delete_namespaced_replica_set( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ReplicaSet | V1Status", + '202': "V1ReplicaSet | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -5879,7 +5879,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1ReplicaSet | V1Status]: """delete_namespaced_replica_set delete a ReplicaSet @@ -5941,8 +5941,8 @@ async def delete_namespaced_replica_set_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ReplicaSet | V1Status", + '202': "V1ReplicaSet | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -6181,7 +6181,7 @@ async 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, - ) -> object: + ) -> V1StatefulSet | V1Status: """delete_namespaced_stateful_set delete a StatefulSet @@ -6243,8 +6243,8 @@ async def delete_namespaced_stateful_set( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1StatefulSet | V1Status", + '202': "V1StatefulSet | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -6282,7 +6282,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1StatefulSet | V1Status]: """delete_namespaced_stateful_set delete a StatefulSet @@ -6344,8 +6344,8 @@ async def delete_namespaced_stateful_set_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1StatefulSet | V1Status", + '202': "V1StatefulSet | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/autoscaling_v1_api.py b/kubernetes/aio/client/api/autoscaling_v1_api.py index d6272b9c77..156c0607fe 100644 --- a/kubernetes/aio/client/api/autoscaling_v1_api.py +++ b/kubernetes/aio/client/api/autoscaling_v1_api.py @@ -980,7 +980,7 @@ async 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, - ) -> object: + ) -> V1HorizontalPodAutoscaler | V1Status: """delete_namespaced_horizontal_pod_autoscaler delete a HorizontalPodAutoscaler @@ -1042,8 +1042,8 @@ async def delete_namespaced_horizontal_pod_autoscaler( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1HorizontalPodAutoscaler | V1Status", + '202': "V1HorizontalPodAutoscaler | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -1081,7 +1081,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1HorizontalPodAutoscaler | V1Status]: """delete_namespaced_horizontal_pod_autoscaler delete a HorizontalPodAutoscaler @@ -1143,8 +1143,8 @@ async def delete_namespaced_horizontal_pod_autoscaler_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1HorizontalPodAutoscaler | V1Status", + '202': "V1HorizontalPodAutoscaler | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/autoscaling_v2_api.py b/kubernetes/aio/client/api/autoscaling_v2_api.py index 8d9ea17fd4..a5ca963411 100644 --- a/kubernetes/aio/client/api/autoscaling_v2_api.py +++ b/kubernetes/aio/client/api/autoscaling_v2_api.py @@ -980,7 +980,7 @@ async 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, - ) -> object: + ) -> V2HorizontalPodAutoscaler | V1Status: """delete_namespaced_horizontal_pod_autoscaler delete a HorizontalPodAutoscaler @@ -1042,8 +1042,8 @@ async def delete_namespaced_horizontal_pod_autoscaler( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V2HorizontalPodAutoscaler | V1Status", + '202': "V2HorizontalPodAutoscaler | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -1081,7 +1081,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V2HorizontalPodAutoscaler | V1Status]: """delete_namespaced_horizontal_pod_autoscaler delete a HorizontalPodAutoscaler @@ -1143,8 +1143,8 @@ async def delete_namespaced_horizontal_pod_autoscaler_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V2HorizontalPodAutoscaler | V1Status", + '202': "V2HorizontalPodAutoscaler | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/batch_v1_api.py b/kubernetes/aio/client/api/batch_v1_api.py index 373935bda3..cff3632df4 100644 --- a/kubernetes/aio/client/api/batch_v1_api.py +++ b/kubernetes/aio/client/api/batch_v1_api.py @@ -1877,7 +1877,7 @@ async 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, - ) -> object: + ) -> V1CronJob | V1Status: """delete_namespaced_cron_job delete a CronJob @@ -1939,8 +1939,8 @@ async def delete_namespaced_cron_job( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1CronJob | V1Status", + '202': "V1CronJob | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -1978,7 +1978,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1CronJob | V1Status]: """delete_namespaced_cron_job delete a CronJob @@ -2040,8 +2040,8 @@ async def delete_namespaced_cron_job_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1CronJob | V1Status", + '202': "V1CronJob | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -2280,7 +2280,7 @@ async 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, - ) -> object: + ) -> V1Job | V1Status: """delete_namespaced_job delete a Job @@ -2342,8 +2342,8 @@ async def delete_namespaced_job( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1Job | V1Status", + '202': "V1Job | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -2381,7 +2381,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1Job | V1Status]: """delete_namespaced_job delete a Job @@ -2443,8 +2443,8 @@ async def delete_namespaced_job_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1Job | V1Status", + '202': "V1Job | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/certificates_v1_api.py b/kubernetes/aio/client/api/certificates_v1_api.py index a76aebbf98..a964ee14a7 100644 --- a/kubernetes/aio/client/api/certificates_v1_api.py +++ b/kubernetes/aio/client/api/certificates_v1_api.py @@ -1129,7 +1129,7 @@ async 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, - ) -> object: + ) -> V1CertificateSigningRequest | V1Status: """delete_certificate_signing_request delete a CertificateSigningRequest @@ -1188,8 +1188,8 @@ async def delete_certificate_signing_request( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1CertificateSigningRequest | V1Status", + '202': "V1CertificateSigningRequest | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -1226,7 +1226,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1CertificateSigningRequest | V1Status]: """delete_certificate_signing_request delete a CertificateSigningRequest @@ -1285,8 +1285,8 @@ async def delete_certificate_signing_request_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1CertificateSigningRequest | V1Status", + '202': "V1CertificateSigningRequest | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -1517,7 +1517,7 @@ async 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, - ) -> object: + ) -> V1ClusterTrustBundle | V1Status: """delete_cluster_trust_bundle delete a ClusterTrustBundle @@ -1576,8 +1576,8 @@ async def delete_cluster_trust_bundle( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ClusterTrustBundle | V1Status", + '202': "V1ClusterTrustBundle | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -1614,7 +1614,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1ClusterTrustBundle | V1Status]: """delete_cluster_trust_bundle delete a ClusterTrustBundle @@ -1673,8 +1673,8 @@ async def delete_cluster_trust_bundle_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ClusterTrustBundle | V1Status", + '202': "V1ClusterTrustBundle | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -3490,7 +3490,7 @@ async 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, - ) -> object: + ) -> V1PodCertificateRequest | V1Status: """delete_namespaced_pod_certificate_request delete a PodCertificateRequest @@ -3552,8 +3552,8 @@ async def delete_namespaced_pod_certificate_request( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1PodCertificateRequest | V1Status", + '202': "V1PodCertificateRequest | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -3591,7 +3591,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1PodCertificateRequest | V1Status]: """delete_namespaced_pod_certificate_request delete a PodCertificateRequest @@ -3653,8 +3653,8 @@ async def delete_namespaced_pod_certificate_request_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1PodCertificateRequest | V1Status", + '202': "V1PodCertificateRequest | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/certificates_v1beta1_api.py b/kubernetes/aio/client/api/certificates_v1beta1_api.py index 19c3ea6926..37a6a67ce5 100644 --- a/kubernetes/aio/client/api/certificates_v1beta1_api.py +++ b/kubernetes/aio/client/api/certificates_v1beta1_api.py @@ -785,7 +785,7 @@ async 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, - ) -> object: + ) -> V1beta1ClusterTrustBundle | V1Status: """delete_cluster_trust_bundle delete a ClusterTrustBundle @@ -844,8 +844,8 @@ async def delete_cluster_trust_bundle( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1beta1ClusterTrustBundle | V1Status", + '202': "V1beta1ClusterTrustBundle | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -882,7 +882,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1beta1ClusterTrustBundle | V1Status]: """delete_cluster_trust_bundle delete a ClusterTrustBundle @@ -941,8 +941,8 @@ async def delete_cluster_trust_bundle_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1beta1ClusterTrustBundle | V1Status", + '202': "V1beta1ClusterTrustBundle | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -2235,7 +2235,7 @@ async 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, - ) -> object: + ) -> V1beta1PodCertificateRequest | V1Status: """delete_namespaced_pod_certificate_request delete a PodCertificateRequest @@ -2297,8 +2297,8 @@ async def delete_namespaced_pod_certificate_request( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1beta1PodCertificateRequest | V1Status", + '202': "V1beta1PodCertificateRequest | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -2336,7 +2336,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1beta1PodCertificateRequest | V1Status]: """delete_namespaced_pod_certificate_request delete a PodCertificateRequest @@ -2398,8 +2398,8 @@ async def delete_namespaced_pod_certificate_request_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1beta1PodCertificateRequest | V1Status", + '202': "V1beta1PodCertificateRequest | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/coordination_v1_api.py b/kubernetes/aio/client/api/coordination_v1_api.py index ebd0d5815e..fe83dbc36d 100644 --- a/kubernetes/aio/client/api/coordination_v1_api.py +++ b/kubernetes/aio/client/api/coordination_v1_api.py @@ -980,7 +980,7 @@ async 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, - ) -> object: + ) -> V1Lease | V1Status: """delete_namespaced_lease delete a Lease @@ -1042,8 +1042,8 @@ async def delete_namespaced_lease( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1Lease | V1Status", + '202': "V1Lease | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -1081,7 +1081,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1Lease | V1Status]: """delete_namespaced_lease delete a Lease @@ -1143,8 +1143,8 @@ async def delete_namespaced_lease_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1Lease | V1Status", + '202': "V1Lease | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/coordination_v1alpha2_api.py b/kubernetes/aio/client/api/coordination_v1alpha2_api.py index e857f76c4d..f26b092a6d 100644 --- a/kubernetes/aio/client/api/coordination_v1alpha2_api.py +++ b/kubernetes/aio/client/api/coordination_v1alpha2_api.py @@ -980,7 +980,7 @@ async 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, - ) -> object: + ) -> V1alpha2LeaseCandidate | V1Status: """delete_namespaced_lease_candidate delete a LeaseCandidate @@ -1042,8 +1042,8 @@ async def delete_namespaced_lease_candidate( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha2LeaseCandidate | V1Status", + '202': "V1alpha2LeaseCandidate | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -1081,7 +1081,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1alpha2LeaseCandidate | V1Status]: """delete_namespaced_lease_candidate delete a LeaseCandidate @@ -1143,8 +1143,8 @@ async def delete_namespaced_lease_candidate_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha2LeaseCandidate | V1Status", + '202': "V1alpha2LeaseCandidate | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/coordination_v1beta1_api.py b/kubernetes/aio/client/api/coordination_v1beta1_api.py index 6401a62ccd..cc8afc85ed 100644 --- a/kubernetes/aio/client/api/coordination_v1beta1_api.py +++ b/kubernetes/aio/client/api/coordination_v1beta1_api.py @@ -980,7 +980,7 @@ async 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, - ) -> object: + ) -> V1beta1LeaseCandidate | V1Status: """delete_namespaced_lease_candidate delete a LeaseCandidate @@ -1042,8 +1042,8 @@ async def delete_namespaced_lease_candidate( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1beta1LeaseCandidate | V1Status", + '202': "V1beta1LeaseCandidate | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -1081,7 +1081,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1beta1LeaseCandidate | V1Status]: """delete_namespaced_lease_candidate delete a LeaseCandidate @@ -1143,8 +1143,8 @@ async def delete_namespaced_lease_candidate_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1beta1LeaseCandidate | V1Status", + '202': "V1beta1LeaseCandidate | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/core_v1_api.py b/kubernetes/aio/client/api/core_v1_api.py index 467f91f4cc..7b19307eec 100644 --- a/kubernetes/aio/client/api/core_v1_api.py +++ b/kubernetes/aio/client/api/core_v1_api.py @@ -29072,7 +29072,7 @@ async def delete_namespace( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> V1Namespace | V1Status: """delete_namespace delete a Namespace @@ -29131,8 +29131,8 @@ async def delete_namespace( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1Namespace | V1Status", + '202': "V1Namespace | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -29169,7 +29169,7 @@ async def delete_namespace_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1Namespace | V1Status]: """delete_namespace delete a Namespace @@ -29228,8 +29228,8 @@ async def delete_namespace_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1Namespace | V1Status", + '202': "V1Namespace | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -29461,7 +29461,7 @@ async 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, - ) -> object: + ) -> V1ConfigMap | V1Status: """delete_namespaced_config_map delete a ConfigMap @@ -29523,8 +29523,8 @@ async def delete_namespaced_config_map( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ConfigMap | V1Status", + '202': "V1ConfigMap | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -29562,7 +29562,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1ConfigMap | V1Status]: """delete_namespaced_config_map delete a ConfigMap @@ -29624,8 +29624,8 @@ async def delete_namespaced_config_map_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ConfigMap | V1Status", + '202': "V1ConfigMap | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -29864,7 +29864,7 @@ async 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, - ) -> object: + ) -> V1Endpoints | V1Status: """delete_namespaced_endpoints delete Endpoints @@ -29926,8 +29926,8 @@ async def delete_namespaced_endpoints( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1Endpoints | V1Status", + '202': "V1Endpoints | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -29965,7 +29965,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1Endpoints | V1Status]: """delete_namespaced_endpoints delete Endpoints @@ -30027,8 +30027,8 @@ async def delete_namespaced_endpoints_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1Endpoints | V1Status", + '202': "V1Endpoints | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -30267,7 +30267,7 @@ async 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, - ) -> object: + ) -> CoreV1Event | V1Status: """delete_namespaced_event delete an Event @@ -30329,8 +30329,8 @@ async def delete_namespaced_event( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "CoreV1Event | V1Status", + '202': "CoreV1Event | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -30368,7 +30368,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[CoreV1Event | V1Status]: """delete_namespaced_event delete an Event @@ -30430,8 +30430,8 @@ async def delete_namespaced_event_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "CoreV1Event | V1Status", + '202': "CoreV1Event | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -30670,7 +30670,7 @@ async 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, - ) -> object: + ) -> V1LimitRange | V1Status: """delete_namespaced_limit_range delete a LimitRange @@ -30732,8 +30732,8 @@ async def delete_namespaced_limit_range( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1LimitRange | V1Status", + '202': "V1LimitRange | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -30771,7 +30771,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1LimitRange | V1Status]: """delete_namespaced_limit_range delete a LimitRange @@ -30833,8 +30833,8 @@ async def delete_namespaced_limit_range_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1LimitRange | V1Status", + '202': "V1LimitRange | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -31073,7 +31073,7 @@ async def delete_namespaced_persistent_volume_claim( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1PersistentVolumeClaim: + ) -> V1PersistentVolumeClaim | V1Status: """delete_namespaced_persistent_volume_claim delete a PersistentVolumeClaim @@ -31135,8 +31135,8 @@ async def delete_namespaced_persistent_volume_claim( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PersistentVolumeClaim", - '202': "V1PersistentVolumeClaim", + '200': "V1PersistentVolumeClaim | V1Status", + '202': "V1PersistentVolumeClaim | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -31174,7 +31174,7 @@ async def delete_namespaced_persistent_volume_claim_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1PersistentVolumeClaim]: + ) -> ApiResponse[V1PersistentVolumeClaim | V1Status]: """delete_namespaced_persistent_volume_claim delete a PersistentVolumeClaim @@ -31236,8 +31236,8 @@ async def delete_namespaced_persistent_volume_claim_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PersistentVolumeClaim", - '202': "V1PersistentVolumeClaim", + '200': "V1PersistentVolumeClaim | V1Status", + '202': "V1PersistentVolumeClaim | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -31476,7 +31476,7 @@ async def delete_namespaced_pod( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Pod: + ) -> V1Pod | V1Status: """delete_namespaced_pod delete a Pod @@ -31538,8 +31538,8 @@ async def delete_namespaced_pod( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Pod", - '202': "V1Pod", + '200': "V1Pod | V1Status", + '202': "V1Pod | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -31577,7 +31577,7 @@ async def delete_namespaced_pod_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1Pod]: + ) -> ApiResponse[V1Pod | V1Status]: """delete_namespaced_pod delete a Pod @@ -31639,8 +31639,8 @@ async def delete_namespaced_pod_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Pod", - '202': "V1Pod", + '200': "V1Pod | V1Status", + '202': "V1Pod | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -31879,7 +31879,7 @@ async def delete_namespaced_pod_template( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1PodTemplate: + ) -> V1PodTemplate | V1Status: """delete_namespaced_pod_template delete a PodTemplate @@ -31941,8 +31941,8 @@ async def delete_namespaced_pod_template( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PodTemplate", - '202': "V1PodTemplate", + '200': "V1PodTemplate | V1Status", + '202': "V1PodTemplate | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -31980,7 +31980,7 @@ async def delete_namespaced_pod_template_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1PodTemplate]: + ) -> ApiResponse[V1PodTemplate | V1Status]: """delete_namespaced_pod_template delete a PodTemplate @@ -32042,8 +32042,8 @@ async def delete_namespaced_pod_template_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PodTemplate", - '202': "V1PodTemplate", + '200': "V1PodTemplate | V1Status", + '202': "V1PodTemplate | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -32282,7 +32282,7 @@ async 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, - ) -> object: + ) -> V1ReplicationController | V1Status: """delete_namespaced_replication_controller delete a ReplicationController @@ -32344,8 +32344,8 @@ async def delete_namespaced_replication_controller( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ReplicationController | V1Status", + '202': "V1ReplicationController | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -32383,7 +32383,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1ReplicationController | V1Status]: """delete_namespaced_replication_controller delete a ReplicationController @@ -32445,8 +32445,8 @@ async def delete_namespaced_replication_controller_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ReplicationController | V1Status", + '202': "V1ReplicationController | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -32685,7 +32685,7 @@ async def delete_namespaced_resource_quota( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ResourceQuota: + ) -> V1ResourceQuota | V1Status: """delete_namespaced_resource_quota delete a ResourceQuota @@ -32747,8 +32747,8 @@ async def delete_namespaced_resource_quota( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ResourceQuota", - '202': "V1ResourceQuota", + '200': "V1ResourceQuota | V1Status", + '202': "V1ResourceQuota | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -32786,7 +32786,7 @@ async def delete_namespaced_resource_quota_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ResourceQuota]: + ) -> ApiResponse[V1ResourceQuota | V1Status]: """delete_namespaced_resource_quota delete a ResourceQuota @@ -32848,8 +32848,8 @@ async def delete_namespaced_resource_quota_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ResourceQuota", - '202': "V1ResourceQuota", + '200': "V1ResourceQuota | V1Status", + '202': "V1ResourceQuota | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -33088,7 +33088,7 @@ async 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, - ) -> object: + ) -> V1Secret | V1Status: """delete_namespaced_secret delete a Secret @@ -33150,8 +33150,8 @@ async def delete_namespaced_secret( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1Secret | V1Status", + '202': "V1Secret | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -33189,7 +33189,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1Secret | V1Status]: """delete_namespaced_secret delete a Secret @@ -33251,8 +33251,8 @@ async def delete_namespaced_secret_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1Secret | V1Status", + '202': "V1Secret | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -33491,7 +33491,7 @@ async def delete_namespaced_service( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Service: + ) -> V1Service | V1Status: """delete_namespaced_service delete a Service @@ -33553,8 +33553,8 @@ async def delete_namespaced_service( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Service", - '202': "V1Service", + '200': "V1Service | V1Status", + '202': "V1Service | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -33592,7 +33592,7 @@ async def delete_namespaced_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, - ) -> ApiResponse[V1Service]: + ) -> ApiResponse[V1Service | V1Status]: """delete_namespaced_service delete a Service @@ -33654,8 +33654,8 @@ async def delete_namespaced_service_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Service", - '202': "V1Service", + '200': "V1Service | V1Status", + '202': "V1Service | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -33894,7 +33894,7 @@ async def delete_namespaced_service_account( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ServiceAccount: + ) -> V1ServiceAccount | V1Status: """delete_namespaced_service_account delete a ServiceAccount @@ -33956,8 +33956,8 @@ async def delete_namespaced_service_account( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ServiceAccount", - '202': "V1ServiceAccount", + '200': "V1ServiceAccount | V1Status", + '202': "V1ServiceAccount | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -33995,7 +33995,7 @@ async def delete_namespaced_service_account_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ServiceAccount]: + ) -> ApiResponse[V1ServiceAccount | V1Status]: """delete_namespaced_service_account delete a ServiceAccount @@ -34057,8 +34057,8 @@ async def delete_namespaced_service_account_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ServiceAccount", - '202': "V1ServiceAccount", + '200': "V1ServiceAccount | V1Status", + '202': "V1ServiceAccount | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -34296,7 +34296,7 @@ async def delete_node( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> V1Node | V1Status: """delete_node delete a Node @@ -34355,8 +34355,8 @@ async def delete_node( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1Node | V1Status", + '202': "V1Node | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -34393,7 +34393,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1Node | V1Status]: """delete_node delete a Node @@ -34452,8 +34452,8 @@ async def delete_node_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1Node | V1Status", + '202': "V1Node | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -34684,7 +34684,7 @@ async def delete_persistent_volume( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1PersistentVolume: + ) -> V1PersistentVolume | V1Status: """delete_persistent_volume delete a PersistentVolume @@ -34743,8 +34743,8 @@ async def delete_persistent_volume( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PersistentVolume", - '202': "V1PersistentVolume", + '200': "V1PersistentVolume | V1Status", + '202': "V1PersistentVolume | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -34781,7 +34781,7 @@ async def delete_persistent_volume_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1PersistentVolume]: + ) -> ApiResponse[V1PersistentVolume | V1Status]: """delete_persistent_volume delete a PersistentVolume @@ -34840,8 +34840,8 @@ async def delete_persistent_volume_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PersistentVolume", - '202': "V1PersistentVolume", + '200': "V1PersistentVolume | V1Status", + '202': "V1PersistentVolume | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/discovery_v1_api.py b/kubernetes/aio/client/api/discovery_v1_api.py index 0c8eb9ef9a..28ae48b4b9 100644 --- a/kubernetes/aio/client/api/discovery_v1_api.py +++ b/kubernetes/aio/client/api/discovery_v1_api.py @@ -980,7 +980,7 @@ async 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, - ) -> object: + ) -> V1EndpointSlice | V1Status: """delete_namespaced_endpoint_slice delete an EndpointSlice @@ -1042,8 +1042,8 @@ async def delete_namespaced_endpoint_slice( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1EndpointSlice | V1Status", + '202': "V1EndpointSlice | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -1081,7 +1081,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1EndpointSlice | V1Status]: """delete_namespaced_endpoint_slice delete an EndpointSlice @@ -1143,8 +1143,8 @@ async def delete_namespaced_endpoint_slice_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1EndpointSlice | V1Status", + '202': "V1EndpointSlice | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/events_v1_api.py b/kubernetes/aio/client/api/events_v1_api.py index b43edd3bc0..f1a02e724e 100644 --- a/kubernetes/aio/client/api/events_v1_api.py +++ b/kubernetes/aio/client/api/events_v1_api.py @@ -980,7 +980,7 @@ async 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, - ) -> object: + ) -> EventsV1Event | V1Status: """delete_namespaced_event delete an Event @@ -1042,8 +1042,8 @@ async def delete_namespaced_event( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "EventsV1Event | V1Status", + '202': "EventsV1Event | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -1081,7 +1081,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[EventsV1Event | V1Status]: """delete_namespaced_event delete an Event @@ -1143,8 +1143,8 @@ async def delete_namespaced_event_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "EventsV1Event | V1Status", + '202': "EventsV1Event | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/flowcontrol_apiserver_v1_api.py b/kubernetes/aio/client/api/flowcontrol_apiserver_v1_api.py index 696886ea65..cf3a4da4f1 100644 --- a/kubernetes/aio/client/api/flowcontrol_apiserver_v1_api.py +++ b/kubernetes/aio/client/api/flowcontrol_apiserver_v1_api.py @@ -1816,7 +1816,7 @@ async 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, - ) -> object: + ) -> V1FlowSchema | V1Status: """delete_flow_schema delete a FlowSchema @@ -1875,8 +1875,8 @@ async def delete_flow_schema( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1FlowSchema | V1Status", + '202': "V1FlowSchema | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -1913,7 +1913,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1FlowSchema | V1Status]: """delete_flow_schema delete a FlowSchema @@ -1972,8 +1972,8 @@ async def delete_flow_schema_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1FlowSchema | V1Status", + '202': "V1FlowSchema | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -2204,7 +2204,7 @@ async 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, - ) -> object: + ) -> V1PriorityLevelConfiguration | V1Status: """delete_priority_level_configuration delete a PriorityLevelConfiguration @@ -2263,8 +2263,8 @@ async def delete_priority_level_configuration( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1PriorityLevelConfiguration | V1Status", + '202': "V1PriorityLevelConfiguration | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -2301,7 +2301,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1PriorityLevelConfiguration | V1Status]: """delete_priority_level_configuration delete a PriorityLevelConfiguration @@ -2360,8 +2360,8 @@ async def delete_priority_level_configuration_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1PriorityLevelConfiguration | V1Status", + '202': "V1PriorityLevelConfiguration | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/internal_apiserver_v1alpha1_api.py b/kubernetes/aio/client/api/internal_apiserver_v1alpha1_api.py index b4d961acc7..4d4c7c8edb 100644 --- a/kubernetes/aio/client/api/internal_apiserver_v1alpha1_api.py +++ b/kubernetes/aio/client/api/internal_apiserver_v1alpha1_api.py @@ -949,7 +949,7 @@ async 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, - ) -> object: + ) -> V1alpha1StorageVersion | V1Status: """delete_storage_version delete a StorageVersion @@ -1008,8 +1008,8 @@ async def delete_storage_version( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha1StorageVersion | V1Status", + '202': "V1alpha1StorageVersion | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -1046,7 +1046,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1alpha1StorageVersion | V1Status]: """delete_storage_version delete a StorageVersion @@ -1105,8 +1105,8 @@ async def delete_storage_version_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha1StorageVersion | V1Status", + '202': "V1alpha1StorageVersion | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/lifecycle_v1alpha1_api.py b/kubernetes/aio/client/api/lifecycle_v1alpha1_api.py index 957887af26..83d7b7eaa7 100644 --- a/kubernetes/aio/client/api/lifecycle_v1alpha1_api.py +++ b/kubernetes/aio/client/api/lifecycle_v1alpha1_api.py @@ -1877,7 +1877,7 @@ async def delete_namespaced_eviction( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> V1alpha1Eviction | V1Status: """delete_namespaced_eviction delete an Eviction @@ -1939,8 +1939,8 @@ async def delete_namespaced_eviction( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha1Eviction | V1Status", + '202': "V1alpha1Eviction | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -1978,7 +1978,7 @@ async def delete_namespaced_eviction_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1alpha1Eviction | V1Status]: """delete_namespaced_eviction delete an Eviction @@ -2040,8 +2040,8 @@ async def delete_namespaced_eviction_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha1Eviction | V1Status", + '202': "V1alpha1Eviction | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -2280,7 +2280,7 @@ async def delete_namespaced_eviction_request( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> V1alpha1EvictionRequest | V1Status: """delete_namespaced_eviction_request delete an EvictionRequest @@ -2342,8 +2342,8 @@ async def delete_namespaced_eviction_request( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha1EvictionRequest | V1Status", + '202': "V1alpha1EvictionRequest | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -2381,7 +2381,7 @@ async def delete_namespaced_eviction_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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1alpha1EvictionRequest | V1Status]: """delete_namespaced_eviction_request delete an EvictionRequest @@ -2443,8 +2443,8 @@ async def delete_namespaced_eviction_request_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha1EvictionRequest | V1Status", + '202': "V1alpha1EvictionRequest | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/networking_v1_api.py b/kubernetes/aio/client/api/networking_v1_api.py index 230980ef31..29e3586395 100644 --- a/kubernetes/aio/client/api/networking_v1_api.py +++ b/kubernetes/aio/client/api/networking_v1_api.py @@ -4477,7 +4477,7 @@ async 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, - ) -> object: + ) -> V1IngressClass | V1Status: """delete_ingress_class delete an IngressClass @@ -4536,8 +4536,8 @@ async def delete_ingress_class( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1IngressClass | V1Status", + '202': "V1IngressClass | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -4574,7 +4574,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1IngressClass | V1Status]: """delete_ingress_class delete an IngressClass @@ -4633,8 +4633,8 @@ async def delete_ingress_class_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1IngressClass | V1Status", + '202': "V1IngressClass | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -4865,7 +4865,7 @@ async 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, - ) -> object: + ) -> V1IPAddress | V1Status: """delete_ip_address delete an IPAddress @@ -4924,8 +4924,8 @@ async def delete_ip_address( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1IPAddress | V1Status", + '202': "V1IPAddress | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -4962,7 +4962,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1IPAddress | V1Status]: """delete_ip_address delete an IPAddress @@ -5021,8 +5021,8 @@ async def delete_ip_address_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1IPAddress | V1Status", + '202': "V1IPAddress | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -5254,7 +5254,7 @@ async 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, - ) -> object: + ) -> V1Ingress | V1Status: """delete_namespaced_ingress delete an Ingress @@ -5316,8 +5316,8 @@ async def delete_namespaced_ingress( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1Ingress | V1Status", + '202': "V1Ingress | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -5355,7 +5355,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1Ingress | V1Status]: """delete_namespaced_ingress delete an Ingress @@ -5417,8 +5417,8 @@ async def delete_namespaced_ingress_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1Ingress | V1Status", + '202': "V1Ingress | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -5657,7 +5657,7 @@ async 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, - ) -> object: + ) -> V1NetworkPolicy | V1Status: """delete_namespaced_network_policy delete a NetworkPolicy @@ -5719,8 +5719,8 @@ async def delete_namespaced_network_policy( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1NetworkPolicy | V1Status", + '202': "V1NetworkPolicy | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -5758,7 +5758,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1NetworkPolicy | V1Status]: """delete_namespaced_network_policy delete a NetworkPolicy @@ -5820,8 +5820,8 @@ async def delete_namespaced_network_policy_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1NetworkPolicy | V1Status", + '202': "V1NetworkPolicy | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -6059,7 +6059,7 @@ async 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, - ) -> object: + ) -> V1ServiceCIDR | V1Status: """delete_service_cidr delete a ServiceCIDR @@ -6118,8 +6118,8 @@ async def delete_service_cidr( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ServiceCIDR | V1Status", + '202': "V1ServiceCIDR | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -6156,7 +6156,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1ServiceCIDR | V1Status]: """delete_service_cidr delete a ServiceCIDR @@ -6215,8 +6215,8 @@ async def delete_service_cidr_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ServiceCIDR | V1Status", + '202': "V1ServiceCIDR | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/node_v1_api.py b/kubernetes/aio/client/api/node_v1_api.py index 61c429c059..c69d973474 100644 --- a/kubernetes/aio/client/api/node_v1_api.py +++ b/kubernetes/aio/client/api/node_v1_api.py @@ -949,7 +949,7 @@ async 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, - ) -> object: + ) -> V1RuntimeClass | V1Status: """delete_runtime_class delete a RuntimeClass @@ -1008,8 +1008,8 @@ async def delete_runtime_class( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1RuntimeClass | V1Status", + '202': "V1RuntimeClass | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -1046,7 +1046,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1RuntimeClass | V1Status]: """delete_runtime_class delete a RuntimeClass @@ -1105,8 +1105,8 @@ async def delete_runtime_class_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1RuntimeClass | V1Status", + '202': "V1RuntimeClass | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/policy_v1_api.py b/kubernetes/aio/client/api/policy_v1_api.py index 166fe05e63..15d6d2f3d6 100644 --- a/kubernetes/aio/client/api/policy_v1_api.py +++ b/kubernetes/aio/client/api/policy_v1_api.py @@ -980,7 +980,7 @@ async 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, - ) -> object: + ) -> V1PodDisruptionBudget | V1Status: """delete_namespaced_pod_disruption_budget delete a PodDisruptionBudget @@ -1042,8 +1042,8 @@ async def delete_namespaced_pod_disruption_budget( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1PodDisruptionBudget | V1Status", + '202': "V1PodDisruptionBudget | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -1081,7 +1081,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1PodDisruptionBudget | V1Status]: """delete_namespaced_pod_disruption_budget delete a PodDisruptionBudget @@ -1143,8 +1143,8 @@ async def delete_namespaced_pod_disruption_budget_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1PodDisruptionBudget | V1Status", + '202': "V1PodDisruptionBudget | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/rbac_authorization_v1_api.py b/kubernetes/aio/client/api/rbac_authorization_v1_api.py index 27554d441c..bca9ef4f8a 100644 --- a/kubernetes/aio/client/api/rbac_authorization_v1_api.py +++ b/kubernetes/aio/client/api/rbac_authorization_v1_api.py @@ -1488,7 +1488,7 @@ async 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, - ) -> object: + ) -> V1ClusterRole | V1Status: """delete_cluster_role delete a ClusterRole @@ -1547,8 +1547,8 @@ async def delete_cluster_role( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ClusterRole | V1Status", + '202': "V1ClusterRole | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -1585,7 +1585,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1ClusterRole | V1Status]: """delete_cluster_role delete a ClusterRole @@ -1644,8 +1644,8 @@ async def delete_cluster_role_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ClusterRole | V1Status", + '202': "V1ClusterRole | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -1876,7 +1876,7 @@ async 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, - ) -> object: + ) -> V1ClusterRoleBinding | V1Status: """delete_cluster_role_binding delete a ClusterRoleBinding @@ -1935,8 +1935,8 @@ async def delete_cluster_role_binding( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ClusterRoleBinding | V1Status", + '202': "V1ClusterRoleBinding | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -1973,7 +1973,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1ClusterRoleBinding | V1Status]: """delete_cluster_role_binding delete a ClusterRoleBinding @@ -2032,8 +2032,8 @@ async def delete_cluster_role_binding_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ClusterRoleBinding | V1Status", + '202': "V1ClusterRoleBinding | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -4387,7 +4387,7 @@ async 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, - ) -> object: + ) -> V1Role | V1Status: """delete_namespaced_role delete a Role @@ -4449,8 +4449,8 @@ async def delete_namespaced_role( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1Role | V1Status", + '202': "V1Role | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -4488,7 +4488,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1Role | V1Status]: """delete_namespaced_role delete a Role @@ -4550,8 +4550,8 @@ async def delete_namespaced_role_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1Role | V1Status", + '202': "V1Role | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -4790,7 +4790,7 @@ async 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, - ) -> object: + ) -> V1RoleBinding | V1Status: """delete_namespaced_role_binding delete a RoleBinding @@ -4852,8 +4852,8 @@ async def delete_namespaced_role_binding( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1RoleBinding | V1Status", + '202': "V1RoleBinding | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -4891,7 +4891,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1RoleBinding | V1Status]: """delete_namespaced_role_binding delete a RoleBinding @@ -4953,8 +4953,8 @@ async def delete_namespaced_role_binding_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1RoleBinding | V1Status", + '202': "V1RoleBinding | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/resource_v1_api.py b/kubernetes/aio/client/api/resource_v1_api.py index 2972c0070a..7425190484 100644 --- a/kubernetes/aio/client/api/resource_v1_api.py +++ b/kubernetes/aio/client/api/resource_v1_api.py @@ -4477,7 +4477,7 @@ async def delete_device_class( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1DeviceClass: + ) -> V1DeviceClass | V1Status: """delete_device_class delete a DeviceClass @@ -4536,8 +4536,8 @@ async def delete_device_class( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1DeviceClass", - '202': "V1DeviceClass", + '200': "V1DeviceClass | V1Status", + '202': "V1DeviceClass | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -4574,7 +4574,7 @@ async def delete_device_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, - ) -> ApiResponse[V1DeviceClass]: + ) -> ApiResponse[V1DeviceClass | V1Status]: """delete_device_class delete a DeviceClass @@ -4633,8 +4633,8 @@ async def delete_device_class_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1DeviceClass", - '202': "V1DeviceClass", + '200': "V1DeviceClass | V1Status", + '202': "V1DeviceClass | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -4865,7 +4865,7 @@ async def delete_device_taint_rule( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> V1DeviceTaintRule | V1Status: """delete_device_taint_rule delete a DeviceTaintRule @@ -4924,8 +4924,8 @@ async def delete_device_taint_rule( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1DeviceTaintRule | V1Status", + '202': "V1DeviceTaintRule | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -4962,7 +4962,7 @@ async def delete_device_taint_rule_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1DeviceTaintRule | V1Status]: """delete_device_taint_rule delete a DeviceTaintRule @@ -5021,8 +5021,8 @@ async def delete_device_taint_rule_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1DeviceTaintRule | V1Status", + '202': "V1DeviceTaintRule | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -5254,7 +5254,7 @@ async def delete_namespaced_resource_claim( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ResourceV1ResourceClaim: + ) -> ResourceV1ResourceClaim | V1Status: """delete_namespaced_resource_claim delete a ResourceClaim @@ -5316,8 +5316,8 @@ async def delete_namespaced_resource_claim( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ResourceV1ResourceClaim", - '202': "ResourceV1ResourceClaim", + '200': "ResourceV1ResourceClaim | V1Status", + '202': "ResourceV1ResourceClaim | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -5355,7 +5355,7 @@ async def delete_namespaced_resource_claim_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ResourceV1ResourceClaim]: + ) -> ApiResponse[ResourceV1ResourceClaim | V1Status]: """delete_namespaced_resource_claim delete a ResourceClaim @@ -5417,8 +5417,8 @@ async def delete_namespaced_resource_claim_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ResourceV1ResourceClaim", - '202': "ResourceV1ResourceClaim", + '200': "ResourceV1ResourceClaim | V1Status", + '202': "ResourceV1ResourceClaim | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -5657,7 +5657,7 @@ async def delete_namespaced_resource_claim_template( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ResourceClaimTemplate: + ) -> V1ResourceClaimTemplate | V1Status: """delete_namespaced_resource_claim_template delete a ResourceClaimTemplate @@ -5719,8 +5719,8 @@ async def delete_namespaced_resource_claim_template( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ResourceClaimTemplate", - '202': "V1ResourceClaimTemplate", + '200': "V1ResourceClaimTemplate | V1Status", + '202': "V1ResourceClaimTemplate | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -5758,7 +5758,7 @@ async def delete_namespaced_resource_claim_template_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ResourceClaimTemplate]: + ) -> ApiResponse[V1ResourceClaimTemplate | V1Status]: """delete_namespaced_resource_claim_template delete a ResourceClaimTemplate @@ -5820,8 +5820,8 @@ async def delete_namespaced_resource_claim_template_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ResourceClaimTemplate", - '202': "V1ResourceClaimTemplate", + '200': "V1ResourceClaimTemplate | V1Status", + '202': "V1ResourceClaimTemplate | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -6059,7 +6059,7 @@ async def delete_resource_slice( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ResourceSlice: + ) -> V1ResourceSlice | V1Status: """delete_resource_slice delete a ResourceSlice @@ -6118,8 +6118,8 @@ async def delete_resource_slice( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ResourceSlice", - '202': "V1ResourceSlice", + '200': "V1ResourceSlice | V1Status", + '202': "V1ResourceSlice | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -6156,7 +6156,7 @@ async def delete_resource_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, - ) -> ApiResponse[V1ResourceSlice]: + ) -> ApiResponse[V1ResourceSlice | V1Status]: """delete_resource_slice delete a ResourceSlice @@ -6215,8 +6215,8 @@ async def delete_resource_slice_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ResourceSlice", - '202': "V1ResourceSlice", + '200': "V1ResourceSlice | V1Status", + '202': "V1ResourceSlice | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/resource_v1alpha3_api.py b/kubernetes/aio/client/api/resource_v1alpha3_api.py index 5778fa0241..a77a2621c0 100644 --- a/kubernetes/aio/client/api/resource_v1alpha3_api.py +++ b/kubernetes/aio/client/api/resource_v1alpha3_api.py @@ -1816,7 +1816,7 @@ async def delete_device_taint_rule( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1alpha3DeviceTaintRule: + ) -> V1alpha3DeviceTaintRule | V1Status: """delete_device_taint_rule delete a DeviceTaintRule @@ -1875,8 +1875,8 @@ async def delete_device_taint_rule( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1alpha3DeviceTaintRule", - '202': "V1alpha3DeviceTaintRule", + '200': "V1alpha3DeviceTaintRule | V1Status", + '202': "V1alpha3DeviceTaintRule | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -1913,7 +1913,7 @@ async def delete_device_taint_rule_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1alpha3DeviceTaintRule]: + ) -> ApiResponse[V1alpha3DeviceTaintRule | V1Status]: """delete_device_taint_rule delete a DeviceTaintRule @@ -1972,8 +1972,8 @@ async def delete_device_taint_rule_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1alpha3DeviceTaintRule", - '202': "V1alpha3DeviceTaintRule", + '200': "V1alpha3DeviceTaintRule | V1Status", + '202': "V1alpha3DeviceTaintRule | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -2204,7 +2204,7 @@ async def delete_resource_pool_status_request( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1alpha3ResourcePoolStatusRequest: + ) -> V1alpha3ResourcePoolStatusRequest | V1Status: """delete_resource_pool_status_request delete a ResourcePoolStatusRequest @@ -2263,8 +2263,8 @@ async def delete_resource_pool_status_request( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1alpha3ResourcePoolStatusRequest", - '202': "V1alpha3ResourcePoolStatusRequest", + '200': "V1alpha3ResourcePoolStatusRequest | V1Status", + '202': "V1alpha3ResourcePoolStatusRequest | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -2301,7 +2301,7 @@ async def delete_resource_pool_status_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, - ) -> ApiResponse[V1alpha3ResourcePoolStatusRequest]: + ) -> ApiResponse[V1alpha3ResourcePoolStatusRequest | V1Status]: """delete_resource_pool_status_request delete a ResourcePoolStatusRequest @@ -2360,8 +2360,8 @@ async def delete_resource_pool_status_request_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1alpha3ResourcePoolStatusRequest", - '202': "V1alpha3ResourcePoolStatusRequest", + '200': "V1alpha3ResourcePoolStatusRequest | V1Status", + '202': "V1alpha3ResourcePoolStatusRequest | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/resource_v1beta1_api.py b/kubernetes/aio/client/api/resource_v1beta1_api.py index d69800aec2..fc85b7597f 100644 --- a/kubernetes/aio/client/api/resource_v1beta1_api.py +++ b/kubernetes/aio/client/api/resource_v1beta1_api.py @@ -3610,7 +3610,7 @@ async def delete_device_class( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1beta1DeviceClass: + ) -> V1beta1DeviceClass | V1Status: """delete_device_class delete a DeviceClass @@ -3669,8 +3669,8 @@ async def delete_device_class( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta1DeviceClass", - '202': "V1beta1DeviceClass", + '200': "V1beta1DeviceClass | V1Status", + '202': "V1beta1DeviceClass | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -3707,7 +3707,7 @@ async def delete_device_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, - ) -> ApiResponse[V1beta1DeviceClass]: + ) -> ApiResponse[V1beta1DeviceClass | V1Status]: """delete_device_class delete a DeviceClass @@ -3766,8 +3766,8 @@ async def delete_device_class_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta1DeviceClass", - '202': "V1beta1DeviceClass", + '200': "V1beta1DeviceClass | V1Status", + '202': "V1beta1DeviceClass | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -3999,7 +3999,7 @@ async def delete_namespaced_resource_claim( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1beta1ResourceClaim: + ) -> V1beta1ResourceClaim | V1Status: """delete_namespaced_resource_claim delete a ResourceClaim @@ -4061,8 +4061,8 @@ async def delete_namespaced_resource_claim( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta1ResourceClaim", - '202': "V1beta1ResourceClaim", + '200': "V1beta1ResourceClaim | V1Status", + '202': "V1beta1ResourceClaim | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -4100,7 +4100,7 @@ async def delete_namespaced_resource_claim_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1beta1ResourceClaim]: + ) -> ApiResponse[V1beta1ResourceClaim | V1Status]: """delete_namespaced_resource_claim delete a ResourceClaim @@ -4162,8 +4162,8 @@ async def delete_namespaced_resource_claim_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta1ResourceClaim", - '202': "V1beta1ResourceClaim", + '200': "V1beta1ResourceClaim | V1Status", + '202': "V1beta1ResourceClaim | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -4402,7 +4402,7 @@ async def delete_namespaced_resource_claim_template( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1beta1ResourceClaimTemplate: + ) -> V1beta1ResourceClaimTemplate | V1Status: """delete_namespaced_resource_claim_template delete a ResourceClaimTemplate @@ -4464,8 +4464,8 @@ async def delete_namespaced_resource_claim_template( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta1ResourceClaimTemplate", - '202': "V1beta1ResourceClaimTemplate", + '200': "V1beta1ResourceClaimTemplate | V1Status", + '202': "V1beta1ResourceClaimTemplate | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -4503,7 +4503,7 @@ async def delete_namespaced_resource_claim_template_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1beta1ResourceClaimTemplate]: + ) -> ApiResponse[V1beta1ResourceClaimTemplate | V1Status]: """delete_namespaced_resource_claim_template delete a ResourceClaimTemplate @@ -4565,8 +4565,8 @@ async def delete_namespaced_resource_claim_template_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta1ResourceClaimTemplate", - '202': "V1beta1ResourceClaimTemplate", + '200': "V1beta1ResourceClaimTemplate | V1Status", + '202': "V1beta1ResourceClaimTemplate | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -4804,7 +4804,7 @@ async def delete_resource_slice( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1beta1ResourceSlice: + ) -> V1beta1ResourceSlice | V1Status: """delete_resource_slice delete a ResourceSlice @@ -4863,8 +4863,8 @@ async def delete_resource_slice( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta1ResourceSlice", - '202': "V1beta1ResourceSlice", + '200': "V1beta1ResourceSlice | V1Status", + '202': "V1beta1ResourceSlice | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -4901,7 +4901,7 @@ async def delete_resource_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, - ) -> ApiResponse[V1beta1ResourceSlice]: + ) -> ApiResponse[V1beta1ResourceSlice | V1Status]: """delete_resource_slice delete a ResourceSlice @@ -4960,8 +4960,8 @@ async def delete_resource_slice_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta1ResourceSlice", - '202': "V1beta1ResourceSlice", + '200': "V1beta1ResourceSlice | V1Status", + '202': "V1beta1ResourceSlice | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/resource_v1beta2_api.py b/kubernetes/aio/client/api/resource_v1beta2_api.py index 5ee6283d72..5f9fae5584 100644 --- a/kubernetes/aio/client/api/resource_v1beta2_api.py +++ b/kubernetes/aio/client/api/resource_v1beta2_api.py @@ -4477,7 +4477,7 @@ async def delete_device_class( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1beta2DeviceClass: + ) -> V1beta2DeviceClass | V1Status: """delete_device_class delete a DeviceClass @@ -4536,8 +4536,8 @@ async def delete_device_class( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta2DeviceClass", - '202': "V1beta2DeviceClass", + '200': "V1beta2DeviceClass | V1Status", + '202': "V1beta2DeviceClass | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -4574,7 +4574,7 @@ async def delete_device_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, - ) -> ApiResponse[V1beta2DeviceClass]: + ) -> ApiResponse[V1beta2DeviceClass | V1Status]: """delete_device_class delete a DeviceClass @@ -4633,8 +4633,8 @@ async def delete_device_class_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta2DeviceClass", - '202': "V1beta2DeviceClass", + '200': "V1beta2DeviceClass | V1Status", + '202': "V1beta2DeviceClass | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -4865,7 +4865,7 @@ async def delete_device_taint_rule( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1beta2DeviceTaintRule: + ) -> V1beta2DeviceTaintRule | V1Status: """delete_device_taint_rule delete a DeviceTaintRule @@ -4924,8 +4924,8 @@ async def delete_device_taint_rule( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta2DeviceTaintRule", - '202': "V1beta2DeviceTaintRule", + '200': "V1beta2DeviceTaintRule | V1Status", + '202': "V1beta2DeviceTaintRule | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -4962,7 +4962,7 @@ async def delete_device_taint_rule_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1beta2DeviceTaintRule]: + ) -> ApiResponse[V1beta2DeviceTaintRule | V1Status]: """delete_device_taint_rule delete a DeviceTaintRule @@ -5021,8 +5021,8 @@ async def delete_device_taint_rule_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta2DeviceTaintRule", - '202': "V1beta2DeviceTaintRule", + '200': "V1beta2DeviceTaintRule | V1Status", + '202': "V1beta2DeviceTaintRule | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -5254,7 +5254,7 @@ async def delete_namespaced_resource_claim( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1beta2ResourceClaim: + ) -> V1beta2ResourceClaim | V1Status: """delete_namespaced_resource_claim delete a ResourceClaim @@ -5316,8 +5316,8 @@ async def delete_namespaced_resource_claim( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta2ResourceClaim", - '202': "V1beta2ResourceClaim", + '200': "V1beta2ResourceClaim | V1Status", + '202': "V1beta2ResourceClaim | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -5355,7 +5355,7 @@ async def delete_namespaced_resource_claim_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1beta2ResourceClaim]: + ) -> ApiResponse[V1beta2ResourceClaim | V1Status]: """delete_namespaced_resource_claim delete a ResourceClaim @@ -5417,8 +5417,8 @@ async def delete_namespaced_resource_claim_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta2ResourceClaim", - '202': "V1beta2ResourceClaim", + '200': "V1beta2ResourceClaim | V1Status", + '202': "V1beta2ResourceClaim | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -5657,7 +5657,7 @@ async def delete_namespaced_resource_claim_template( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1beta2ResourceClaimTemplate: + ) -> V1beta2ResourceClaimTemplate | V1Status: """delete_namespaced_resource_claim_template delete a ResourceClaimTemplate @@ -5719,8 +5719,8 @@ async def delete_namespaced_resource_claim_template( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta2ResourceClaimTemplate", - '202': "V1beta2ResourceClaimTemplate", + '200': "V1beta2ResourceClaimTemplate | V1Status", + '202': "V1beta2ResourceClaimTemplate | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -5758,7 +5758,7 @@ async def delete_namespaced_resource_claim_template_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1beta2ResourceClaimTemplate]: + ) -> ApiResponse[V1beta2ResourceClaimTemplate | V1Status]: """delete_namespaced_resource_claim_template delete a ResourceClaimTemplate @@ -5820,8 +5820,8 @@ async def delete_namespaced_resource_claim_template_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta2ResourceClaimTemplate", - '202': "V1beta2ResourceClaimTemplate", + '200': "V1beta2ResourceClaimTemplate | V1Status", + '202': "V1beta2ResourceClaimTemplate | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -6059,7 +6059,7 @@ async def delete_resource_slice( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1beta2ResourceSlice: + ) -> V1beta2ResourceSlice | V1Status: """delete_resource_slice delete a ResourceSlice @@ -6118,8 +6118,8 @@ async def delete_resource_slice( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta2ResourceSlice", - '202': "V1beta2ResourceSlice", + '200': "V1beta2ResourceSlice | V1Status", + '202': "V1beta2ResourceSlice | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -6156,7 +6156,7 @@ async def delete_resource_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, - ) -> ApiResponse[V1beta2ResourceSlice]: + ) -> ApiResponse[V1beta2ResourceSlice | V1Status]: """delete_resource_slice delete a ResourceSlice @@ -6215,8 +6215,8 @@ async def delete_resource_slice_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta2ResourceSlice", - '202': "V1beta2ResourceSlice", + '200': "V1beta2ResourceSlice | V1Status", + '202': "V1beta2ResourceSlice | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/scheduling_v1_api.py b/kubernetes/aio/client/api/scheduling_v1_api.py index 523b5e1146..484544d848 100644 --- a/kubernetes/aio/client/api/scheduling_v1_api.py +++ b/kubernetes/aio/client/api/scheduling_v1_api.py @@ -949,7 +949,7 @@ async 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, - ) -> object: + ) -> V1PriorityClass | V1Status: """delete_priority_class delete a PriorityClass @@ -1008,8 +1008,8 @@ async def delete_priority_class( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1PriorityClass | V1Status", + '202': "V1PriorityClass | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -1046,7 +1046,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1PriorityClass | V1Status]: """delete_priority_class delete a PriorityClass @@ -1105,8 +1105,8 @@ async def delete_priority_class_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1PriorityClass | V1Status", + '202': "V1PriorityClass | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/scheduling_v1alpha3_api.py b/kubernetes/aio/client/api/scheduling_v1alpha3_api.py index 4e3823b0b5..c32f015319 100644 --- a/kubernetes/aio/client/api/scheduling_v1alpha3_api.py +++ b/kubernetes/aio/client/api/scheduling_v1alpha3_api.py @@ -2774,7 +2774,7 @@ async def delete_namespaced_composite_pod_group( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> V1alpha3CompositePodGroup | V1Status: """delete_namespaced_composite_pod_group delete a CompositePodGroup @@ -2836,8 +2836,8 @@ async def delete_namespaced_composite_pod_group( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha3CompositePodGroup | V1Status", + '202': "V1alpha3CompositePodGroup | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -2875,7 +2875,7 @@ async def delete_namespaced_composite_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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1alpha3CompositePodGroup | V1Status]: """delete_namespaced_composite_pod_group delete a CompositePodGroup @@ -2937,8 +2937,8 @@ async def delete_namespaced_composite_pod_group_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha3CompositePodGroup | V1Status", + '202': "V1alpha3CompositePodGroup | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -3177,7 +3177,7 @@ async 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, - ) -> object: + ) -> V1alpha3PodGroup | V1Status: """delete_namespaced_pod_group delete a PodGroup @@ -3239,8 +3239,8 @@ async def delete_namespaced_pod_group( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha3PodGroup | V1Status", + '202': "V1alpha3PodGroup | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -3278,7 +3278,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1alpha3PodGroup | V1Status]: """delete_namespaced_pod_group delete a PodGroup @@ -3340,8 +3340,8 @@ async def delete_namespaced_pod_group_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha3PodGroup | V1Status", + '202': "V1alpha3PodGroup | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -3580,7 +3580,7 @@ async 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, - ) -> object: + ) -> V1alpha3Workload | V1Status: """delete_namespaced_workload delete a Workload @@ -3642,8 +3642,8 @@ async def delete_namespaced_workload( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha3Workload | V1Status", + '202': "V1alpha3Workload | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -3681,7 +3681,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1alpha3Workload | V1Status]: """delete_namespaced_workload delete a Workload @@ -3743,8 +3743,8 @@ async def delete_namespaced_workload_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha3Workload | V1Status", + '202': "V1alpha3Workload | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/scheduling_v1beta1_api.py b/kubernetes/aio/client/api/scheduling_v1beta1_api.py index 71e748a274..39d319585c 100644 --- a/kubernetes/aio/client/api/scheduling_v1beta1_api.py +++ b/kubernetes/aio/client/api/scheduling_v1beta1_api.py @@ -1877,7 +1877,7 @@ async 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, - ) -> object: + ) -> V1beta1PodGroup | V1Status: """delete_namespaced_pod_group delete a PodGroup @@ -1939,8 +1939,8 @@ async def delete_namespaced_pod_group( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1beta1PodGroup | V1Status", + '202': "V1beta1PodGroup | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -1978,7 +1978,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1beta1PodGroup | V1Status]: """delete_namespaced_pod_group delete a PodGroup @@ -2040,8 +2040,8 @@ async def delete_namespaced_pod_group_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1beta1PodGroup | V1Status", + '202': "V1beta1PodGroup | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -2280,7 +2280,7 @@ async 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, - ) -> object: + ) -> V1beta1Workload | V1Status: """delete_namespaced_workload delete a Workload @@ -2342,8 +2342,8 @@ async def delete_namespaced_workload( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1beta1Workload | V1Status", + '202': "V1beta1Workload | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -2381,7 +2381,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1beta1Workload | V1Status]: """delete_namespaced_workload delete a Workload @@ -2443,8 +2443,8 @@ async def delete_namespaced_workload_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1beta1Workload | V1Status", + '202': "V1beta1Workload | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/storage_v1_api.py b/kubernetes/aio/client/api/storage_v1_api.py index 445cc29453..8fbf51bdd3 100644 --- a/kubernetes/aio/client/api/storage_v1_api.py +++ b/kubernetes/aio/client/api/storage_v1_api.py @@ -5314,7 +5314,7 @@ async def delete_csi_driver( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1CSIDriver: + ) -> V1CSIDriver | V1Status: """delete_csi_driver delete a CSIDriver @@ -5373,8 +5373,8 @@ async def delete_csi_driver( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1CSIDriver", - '202': "V1CSIDriver", + '200': "V1CSIDriver | V1Status", + '202': "V1CSIDriver | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -5411,7 +5411,7 @@ async def delete_csi_driver_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1CSIDriver]: + ) -> ApiResponse[V1CSIDriver | V1Status]: """delete_csi_driver delete a CSIDriver @@ -5470,8 +5470,8 @@ async def delete_csi_driver_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1CSIDriver", - '202': "V1CSIDriver", + '200': "V1CSIDriver | V1Status", + '202': "V1CSIDriver | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -5702,7 +5702,7 @@ async def delete_csi_node( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1CSINode: + ) -> V1CSINode | V1Status: """delete_csi_node delete a CSINode @@ -5761,8 +5761,8 @@ async def delete_csi_node( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1CSINode", - '202': "V1CSINode", + '200': "V1CSINode | V1Status", + '202': "V1CSINode | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -5799,7 +5799,7 @@ async def delete_csi_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, - ) -> ApiResponse[V1CSINode]: + ) -> ApiResponse[V1CSINode | V1Status]: """delete_csi_node delete a CSINode @@ -5858,8 +5858,8 @@ async def delete_csi_node_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1CSINode", - '202': "V1CSINode", + '200': "V1CSINode | V1Status", + '202': "V1CSINode | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -6091,7 +6091,7 @@ async 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, - ) -> object: + ) -> V1CSIStorageCapacity | V1Status: """delete_namespaced_csi_storage_capacity delete a CSIStorageCapacity @@ -6153,8 +6153,8 @@ async def delete_namespaced_csi_storage_capacity( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1CSIStorageCapacity | V1Status", + '202': "V1CSIStorageCapacity | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -6192,7 +6192,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1CSIStorageCapacity | V1Status]: """delete_namespaced_csi_storage_capacity delete a CSIStorageCapacity @@ -6254,8 +6254,8 @@ async def delete_namespaced_csi_storage_capacity_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1CSIStorageCapacity | V1Status", + '202': "V1CSIStorageCapacity | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -6493,7 +6493,7 @@ async def delete_storage_class( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1StorageClass: + ) -> V1StorageClass | V1Status: """delete_storage_class delete a StorageClass @@ -6552,8 +6552,8 @@ async def delete_storage_class( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1StorageClass", - '202': "V1StorageClass", + '200': "V1StorageClass | V1Status", + '202': "V1StorageClass | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -6590,7 +6590,7 @@ async def delete_storage_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, - ) -> ApiResponse[V1StorageClass]: + ) -> ApiResponse[V1StorageClass | V1Status]: """delete_storage_class delete a StorageClass @@ -6649,8 +6649,8 @@ async def delete_storage_class_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1StorageClass", - '202': "V1StorageClass", + '200': "V1StorageClass | V1Status", + '202': "V1StorageClass | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -6881,7 +6881,7 @@ async def delete_volume_attachment( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1VolumeAttachment: + ) -> V1VolumeAttachment | V1Status: """delete_volume_attachment delete a VolumeAttachment @@ -6940,8 +6940,8 @@ async def delete_volume_attachment( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1VolumeAttachment", - '202': "V1VolumeAttachment", + '200': "V1VolumeAttachment | V1Status", + '202': "V1VolumeAttachment | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -6978,7 +6978,7 @@ async def delete_volume_attachment_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1VolumeAttachment]: + ) -> ApiResponse[V1VolumeAttachment | V1Status]: """delete_volume_attachment delete a VolumeAttachment @@ -7037,8 +7037,8 @@ async def delete_volume_attachment_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1VolumeAttachment", - '202': "V1VolumeAttachment", + '200': "V1VolumeAttachment | V1Status", + '202': "V1VolumeAttachment | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -7269,7 +7269,7 @@ async def delete_volume_attributes_class( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1VolumeAttributesClass: + ) -> V1VolumeAttributesClass | V1Status: """delete_volume_attributes_class delete a VolumeAttributesClass @@ -7328,8 +7328,8 @@ async def delete_volume_attributes_class( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1VolumeAttributesClass", - '202': "V1VolumeAttributesClass", + '200': "V1VolumeAttributesClass | V1Status", + '202': "V1VolumeAttributesClass | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -7366,7 +7366,7 @@ async def delete_volume_attributes_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, - ) -> ApiResponse[V1VolumeAttributesClass]: + ) -> ApiResponse[V1VolumeAttributesClass | V1Status]: """delete_volume_attributes_class delete a VolumeAttributesClass @@ -7425,8 +7425,8 @@ async def delete_volume_attributes_class_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1VolumeAttributesClass", - '202': "V1VolumeAttributesClass", + '200': "V1VolumeAttributesClass | V1Status", + '202': "V1VolumeAttributesClass | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/storagemigration_v1_api.py b/kubernetes/aio/client/api/storagemigration_v1_api.py index d2371d203e..93bbe2471f 100644 --- a/kubernetes/aio/client/api/storagemigration_v1_api.py +++ b/kubernetes/aio/client/api/storagemigration_v1_api.py @@ -949,7 +949,7 @@ async 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, - ) -> object: + ) -> V1StorageVersionMigration | V1Status: """delete_storage_version_migration delete a StorageVersionMigration @@ -1008,8 +1008,8 @@ async def delete_storage_version_migration( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1StorageVersionMigration | V1Status", + '202': "V1StorageVersionMigration | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -1046,7 +1046,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1StorageVersionMigration | V1Status]: """delete_storage_version_migration delete a StorageVersionMigration @@ -1105,8 +1105,8 @@ async def delete_storage_version_migration_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1StorageVersionMigration | V1Status", + '202': "V1StorageVersionMigration | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api/storagemigration_v1beta1_api.py b/kubernetes/aio/client/api/storagemigration_v1beta1_api.py index 364a9ef281..ccf2e13200 100644 --- a/kubernetes/aio/client/api/storagemigration_v1beta1_api.py +++ b/kubernetes/aio/client/api/storagemigration_v1beta1_api.py @@ -949,7 +949,7 @@ async 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, - ) -> object: + ) -> V1beta1StorageVersionMigration | V1Status: """delete_storage_version_migration delete a StorageVersionMigration @@ -1008,8 +1008,8 @@ async def delete_storage_version_migration( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1beta1StorageVersionMigration | V1Status", + '202': "V1beta1StorageVersionMigration | V1Status", '401': None, } response_data = await self.api_client.call_api( @@ -1046,7 +1046,7 @@ async 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, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1beta1StorageVersionMigration | V1Status]: """delete_storage_version_migration delete a StorageVersionMigration @@ -1105,8 +1105,8 @@ async def delete_storage_version_migration_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1beta1StorageVersionMigration | V1Status", + '202': "V1beta1StorageVersionMigration | V1Status", '401': None, } response_data = await self.api_client.call_api( diff --git a/kubernetes/aio/client/api_client.py b/kubernetes/aio/client/api_client.py index 3595abd6bb..aa8553542b 100644 --- a/kubernetes/aio/client/api_client.py +++ b/kubernetes/aio/client/api_client.py @@ -73,6 +73,103 @@ def _get_openapi_to_dict(value: Any) -> Any: RequestSerialized = Tuple[str, str, Dict[str, str], Optional[str], List[str]] +_DELETE_MODELS = { + ('admissionregistration.k8s.io/v1', 'MutatingAdmissionPolicy'): 'V1MutatingAdmissionPolicy', + ('admissionregistration.k8s.io/v1', 'MutatingAdmissionPolicyBinding'): 'V1MutatingAdmissionPolicyBinding', + ('admissionregistration.k8s.io/v1', 'MutatingWebhookConfiguration'): 'V1MutatingWebhookConfiguration', + ('admissionregistration.k8s.io/v1', 'ValidatingAdmissionPolicy'): 'V1ValidatingAdmissionPolicy', + ('admissionregistration.k8s.io/v1', 'ValidatingAdmissionPolicyBinding'): 'V1ValidatingAdmissionPolicyBinding', + ('admissionregistration.k8s.io/v1', 'ValidatingWebhookConfiguration'): 'V1ValidatingWebhookConfiguration', + ('admissionregistration.k8s.io/v1alpha1', 'MutatingAdmissionPolicy'): 'V1alpha1MutatingAdmissionPolicy', + ('admissionregistration.k8s.io/v1alpha1', 'MutatingAdmissionPolicyBinding'): 'V1alpha1MutatingAdmissionPolicyBinding', + ('admissionregistration.k8s.io/v1beta1', 'MutatingAdmissionPolicy'): 'V1beta1MutatingAdmissionPolicy', + ('admissionregistration.k8s.io/v1beta1', 'MutatingAdmissionPolicyBinding'): 'V1beta1MutatingAdmissionPolicyBinding', + ('apiextensions.k8s.io/v1', 'CustomResourceDefinition'): 'V1CustomResourceDefinition', + ('apiregistration.k8s.io/v1', 'APIService'): 'V1APIService', + ('apps/v1', 'ControllerRevision'): 'V1ControllerRevision', + ('apps/v1', 'DaemonSet'): 'V1DaemonSet', + ('apps/v1', 'Deployment'): 'V1Deployment', + ('apps/v1', 'ReplicaSet'): 'V1ReplicaSet', + ('apps/v1', 'StatefulSet'): 'V1StatefulSet', + ('autoscaling/v1', 'HorizontalPodAutoscaler'): 'V1HorizontalPodAutoscaler', + ('autoscaling/v2', 'HorizontalPodAutoscaler'): 'V2HorizontalPodAutoscaler', + ('batch/v1', 'CronJob'): 'V1CronJob', + ('batch/v1', 'Job'): 'V1Job', + ('certificates.k8s.io/v1', 'CertificateSigningRequest'): 'V1CertificateSigningRequest', + ('certificates.k8s.io/v1', 'ClusterTrustBundle'): 'V1ClusterTrustBundle', + ('certificates.k8s.io/v1', 'PodCertificateRequest'): 'V1PodCertificateRequest', + ('certificates.k8s.io/v1beta1', 'ClusterTrustBundle'): 'V1beta1ClusterTrustBundle', + ('certificates.k8s.io/v1beta1', 'PodCertificateRequest'): 'V1beta1PodCertificateRequest', + ('coordination.k8s.io/v1', 'Lease'): 'V1Lease', + ('coordination.k8s.io/v1alpha2', 'LeaseCandidate'): 'V1alpha2LeaseCandidate', + ('coordination.k8s.io/v1beta1', 'LeaseCandidate'): 'V1beta1LeaseCandidate', + ('discovery.k8s.io/v1', 'EndpointSlice'): 'V1EndpointSlice', + ('events.k8s.io/v1', 'Event'): 'EventsV1Event', + ('flowcontrol.apiserver.k8s.io/v1', 'FlowSchema'): 'V1FlowSchema', + ('flowcontrol.apiserver.k8s.io/v1', 'PriorityLevelConfiguration'): 'V1PriorityLevelConfiguration', + ('internal.apiserver.k8s.io/v1alpha1', 'StorageVersion'): 'V1alpha1StorageVersion', + ('lifecycle.k8s.io/v1alpha1', 'Eviction'): 'V1alpha1Eviction', + ('lifecycle.k8s.io/v1alpha1', 'EvictionRequest'): 'V1alpha1EvictionRequest', + ('networking.k8s.io/v1', 'IPAddress'): 'V1IPAddress', + ('networking.k8s.io/v1', 'Ingress'): 'V1Ingress', + ('networking.k8s.io/v1', 'IngressClass'): 'V1IngressClass', + ('networking.k8s.io/v1', 'NetworkPolicy'): 'V1NetworkPolicy', + ('networking.k8s.io/v1', 'ServiceCIDR'): 'V1ServiceCIDR', + ('node.k8s.io/v1', 'RuntimeClass'): 'V1RuntimeClass', + ('policy/v1', 'PodDisruptionBudget'): 'V1PodDisruptionBudget', + ('rbac.authorization.k8s.io/v1', 'ClusterRole'): 'V1ClusterRole', + ('rbac.authorization.k8s.io/v1', 'ClusterRoleBinding'): 'V1ClusterRoleBinding', + ('rbac.authorization.k8s.io/v1', 'Role'): 'V1Role', + ('rbac.authorization.k8s.io/v1', 'RoleBinding'): 'V1RoleBinding', + ('resource.k8s.io/v1', 'DeviceClass'): 'V1DeviceClass', + ('resource.k8s.io/v1', 'DeviceTaintRule'): 'V1DeviceTaintRule', + ('resource.k8s.io/v1', 'ResourceClaim'): 'ResourceV1ResourceClaim', + ('resource.k8s.io/v1', 'ResourceClaimTemplate'): 'V1ResourceClaimTemplate', + ('resource.k8s.io/v1', 'ResourceSlice'): 'V1ResourceSlice', + ('resource.k8s.io/v1alpha3', 'DeviceTaintRule'): 'V1alpha3DeviceTaintRule', + ('resource.k8s.io/v1alpha3', 'ResourcePoolStatusRequest'): 'V1alpha3ResourcePoolStatusRequest', + ('resource.k8s.io/v1beta1', 'DeviceClass'): 'V1beta1DeviceClass', + ('resource.k8s.io/v1beta1', 'ResourceClaim'): 'V1beta1ResourceClaim', + ('resource.k8s.io/v1beta1', 'ResourceClaimTemplate'): 'V1beta1ResourceClaimTemplate', + ('resource.k8s.io/v1beta1', 'ResourceSlice'): 'V1beta1ResourceSlice', + ('resource.k8s.io/v1beta2', 'DeviceClass'): 'V1beta2DeviceClass', + ('resource.k8s.io/v1beta2', 'DeviceTaintRule'): 'V1beta2DeviceTaintRule', + ('resource.k8s.io/v1beta2', 'ResourceClaim'): 'V1beta2ResourceClaim', + ('resource.k8s.io/v1beta2', 'ResourceClaimTemplate'): 'V1beta2ResourceClaimTemplate', + ('resource.k8s.io/v1beta2', 'ResourceSlice'): 'V1beta2ResourceSlice', + ('scheduling.k8s.io/v1', 'PriorityClass'): 'V1PriorityClass', + ('scheduling.k8s.io/v1alpha3', 'CompositePodGroup'): 'V1alpha3CompositePodGroup', + ('scheduling.k8s.io/v1alpha3', 'PodGroup'): 'V1alpha3PodGroup', + ('scheduling.k8s.io/v1alpha3', 'Workload'): 'V1alpha3Workload', + ('scheduling.k8s.io/v1beta1', 'PodGroup'): 'V1beta1PodGroup', + ('scheduling.k8s.io/v1beta1', 'Workload'): 'V1beta1Workload', + ('storage.k8s.io/v1', 'CSIDriver'): 'V1CSIDriver', + ('storage.k8s.io/v1', 'CSINode'): 'V1CSINode', + ('storage.k8s.io/v1', 'CSIStorageCapacity'): 'V1CSIStorageCapacity', + ('storage.k8s.io/v1', 'StorageClass'): 'V1StorageClass', + ('storage.k8s.io/v1', 'VolumeAttachment'): 'V1VolumeAttachment', + ('storage.k8s.io/v1', 'VolumeAttributesClass'): 'V1VolumeAttributesClass', + ('storagemigration.k8s.io/v1', 'StorageVersionMigration'): 'V1StorageVersionMigration', + ('storagemigration.k8s.io/v1beta1', 'StorageVersionMigration'): 'V1beta1StorageVersionMigration', + ('v1', 'ConfigMap'): 'V1ConfigMap', + ('v1', 'Endpoints'): 'V1Endpoints', + ('v1', 'Event'): 'CoreV1Event', + ('v1', 'LimitRange'): 'V1LimitRange', + ('v1', 'Namespace'): 'V1Namespace', + ('v1', 'Node'): 'V1Node', + ('v1', 'PersistentVolume'): 'V1PersistentVolume', + ('v1', 'PersistentVolumeClaim'): 'V1PersistentVolumeClaim', + ('v1', 'Pod'): 'V1Pod', + ('v1', 'PodTemplate'): 'V1PodTemplate', + ('v1', 'ReplicationController'): 'V1ReplicationController', + ('v1', 'ResourceQuota'): 'V1ResourceQuota', + ('v1', 'Secret'): 'V1Secret', + ('v1', 'Service'): 'V1Service', + ('v1', 'ServiceAccount'): 'V1ServiceAccount', + ('v1', 'Status'): 'V1Status', +} + + class ApiClient: """Generic API client for OpenAPI client library builds. @@ -461,6 +558,15 @@ def deserialize(self, response_text: str, response_type: str, content_type: Opti reason="Unsupported content type: {0}".format(content_type) ) + if isinstance(response_type, str) and response_type.endswith(" | V1Status"): + match data: + case {"apiVersion": str(version), "kind": str(kind)}: + model = _DELETE_MODELS.get((version, kind)) + if model not in response_type.split(" | "): + raise ValueError(f"Expected {response_type}, got {version}/{kind}") + response_type = model + case _: + raise ValueError(f"Expected apiVersion and kind for {response_type}") return self.__deserialize(data, response_type) def __deserialize(self, data, klass): diff --git a/kubernetes/aio/docs/AdmissionregistrationV1Api.md b/kubernetes/aio/docs/AdmissionregistrationV1Api.md index b77044c018..199df60b2d 100644 --- a/kubernetes/aio/docs/AdmissionregistrationV1Api.md +++ b/kubernetes/aio/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** -> 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) +> V1MutatingAdmissionPolicy | 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) delete a MutatingAdmissionPolicy @@ -1293,7 +1293,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1MutatingAdmissionPolicy**](V1MutatingAdmissionPolicy.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1315,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** -> 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) +> V1MutatingAdmissionPolicyBinding | 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) delete a MutatingAdmissionPolicyBinding @@ -1385,7 +1385,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1MutatingAdmissionPolicyBinding**](V1MutatingAdmissionPolicyBinding.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1407,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** -> 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) +> V1MutatingWebhookConfiguration | 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) delete a MutatingWebhookConfiguration @@ -1477,7 +1477,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1MutatingWebhookConfiguration**](V1MutatingWebhookConfiguration.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1499,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** -> 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) +> V1ValidatingAdmissionPolicy | 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) delete a ValidatingAdmissionPolicy @@ -1569,7 +1569,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1ValidatingAdmissionPolicy**](V1ValidatingAdmissionPolicy.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1591,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** -> 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) +> V1ValidatingAdmissionPolicyBinding | 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) delete a ValidatingAdmissionPolicyBinding @@ -1661,7 +1661,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1ValidatingAdmissionPolicyBinding**](V1ValidatingAdmissionPolicyBinding.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1683,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** -> 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) +> V1ValidatingWebhookConfiguration | 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) delete a ValidatingWebhookConfiguration @@ -1753,7 +1753,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1ValidatingWebhookConfiguration**](V1ValidatingWebhookConfiguration.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/AdmissionregistrationV1alpha1Api.md b/kubernetes/aio/docs/AdmissionregistrationV1alpha1Api.md index a1a848245d..28ca628bda 100644 --- a/kubernetes/aio/docs/AdmissionregistrationV1alpha1Api.md +++ b/kubernetes/aio/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** -> 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) +> V1alpha1MutatingAdmissionPolicy | 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) delete a MutatingAdmissionPolicy @@ -482,7 +482,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1alpha1MutatingAdmissionPolicy**](V1alpha1MutatingAdmissionPolicy.md) or [**V1Status**](V1Status.md) ### Authorization @@ -504,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** -> 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) +> V1alpha1MutatingAdmissionPolicyBinding | 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) delete a MutatingAdmissionPolicyBinding @@ -574,7 +574,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1alpha1MutatingAdmissionPolicyBinding**](V1alpha1MutatingAdmissionPolicyBinding.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/AdmissionregistrationV1beta1Api.md b/kubernetes/aio/docs/AdmissionregistrationV1beta1Api.md index da025a3ead..9fa47f4bf4 100644 --- a/kubernetes/aio/docs/AdmissionregistrationV1beta1Api.md +++ b/kubernetes/aio/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** -> 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) +> V1beta1MutatingAdmissionPolicy | 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) delete a MutatingAdmissionPolicy @@ -482,7 +482,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1beta1MutatingAdmissionPolicy**](V1beta1MutatingAdmissionPolicy.md) or [**V1Status**](V1Status.md) ### Authorization @@ -504,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** -> 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) +> V1beta1MutatingAdmissionPolicyBinding | 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) delete a MutatingAdmissionPolicyBinding @@ -574,7 +574,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1beta1MutatingAdmissionPolicyBinding**](V1beta1MutatingAdmissionPolicyBinding.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/ApiextensionsV1Api.md b/kubernetes/aio/docs/ApiextensionsV1Api.md index c0333f6492..a77ede6eda 100644 --- a/kubernetes/aio/docs/ApiextensionsV1Api.md +++ b/kubernetes/aio/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** -> 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) +> V1CustomResourceDefinition | 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) delete a CustomResourceDefinition @@ -283,7 +283,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1CustomResourceDefinition**](V1CustomResourceDefinition.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/ApiregistrationV1Api.md b/kubernetes/aio/docs/ApiregistrationV1Api.md index d64910737e..1cc346b1d9 100644 --- a/kubernetes/aio/docs/ApiregistrationV1Api.md +++ b/kubernetes/aio/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** -> 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) +> V1APIService | 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) delete an APIService @@ -175,7 +175,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1APIService**](V1APIService.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/AppsV1Api.md b/kubernetes/aio/docs/AppsV1Api.md index 8f684d35be..cc2fc39d54 100644 --- a/kubernetes/aio/docs/AppsV1Api.md +++ b/kubernetes/aio/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** -> 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) +> V1ControllerRevision | 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) delete a ControllerRevision @@ -1136,7 +1136,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1ControllerRevision**](V1ControllerRevision.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1158,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** -> 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) +> V1DaemonSet | 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) delete a DaemonSet @@ -1230,7 +1230,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1DaemonSet**](V1DaemonSet.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1252,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** -> 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) +> V1Deployment | 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) delete a Deployment @@ -1324,7 +1324,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1Deployment**](V1Deployment.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1346,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** -> 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) +> V1ReplicaSet | 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) delete a ReplicaSet @@ -1418,7 +1418,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1ReplicaSet**](V1ReplicaSet.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1440,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** -> 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) +> V1StatefulSet | 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) delete a StatefulSet @@ -1512,7 +1512,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1StatefulSet**](V1StatefulSet.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/AutoscalingV1Api.md b/kubernetes/aio/docs/AutoscalingV1Api.md index 59e62a9431..e364972633 100644 --- a/kubernetes/aio/docs/AutoscalingV1Api.md +++ b/kubernetes/aio/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** -> 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) +> V1HorizontalPodAutoscaler | 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) delete a HorizontalPodAutoscaler @@ -290,7 +290,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1HorizontalPodAutoscaler**](V1HorizontalPodAutoscaler.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/AutoscalingV2Api.md b/kubernetes/aio/docs/AutoscalingV2Api.md index 54d62375f0..11f0e93451 100644 --- a/kubernetes/aio/docs/AutoscalingV2Api.md +++ b/kubernetes/aio/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** -> 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) +> V2HorizontalPodAutoscaler | 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) delete a HorizontalPodAutoscaler @@ -290,7 +290,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V2HorizontalPodAutoscaler**](V2HorizontalPodAutoscaler.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/BatchV1Api.md b/kubernetes/aio/docs/BatchV1Api.md index 615b03e432..2999cb9ae0 100644 --- a/kubernetes/aio/docs/BatchV1Api.md +++ b/kubernetes/aio/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** -> 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) +> V1CronJob | 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) delete a CronJob @@ -500,7 +500,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1CronJob**](V1CronJob.md) or [**V1Status**](V1Status.md) ### Authorization @@ -522,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** -> 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) +> V1Job | 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) delete a Job @@ -594,7 +594,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1Job**](V1Job.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/CertificatesV1Api.md b/kubernetes/aio/docs/CertificatesV1Api.md index 18f65dcb59..3a7736f9b9 100644 --- a/kubernetes/aio/docs/CertificatesV1Api.md +++ b/kubernetes/aio/docs/CertificatesV1Api.md @@ -302,7 +302,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** -> 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) +> V1CertificateSigningRequest | 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) delete a CertificateSigningRequest @@ -372,7 +372,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1CertificateSigningRequest**](V1CertificateSigningRequest.md) or [**V1Status**](V1Status.md) ### Authorization @@ -394,7 +394,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** -> 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) +> V1ClusterTrustBundle | 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) delete a ClusterTrustBundle @@ -464,7 +464,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1ClusterTrustBundle**](V1ClusterTrustBundle.md) or [**V1Status**](V1Status.md) ### Authorization @@ -812,7 +812,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** -> 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) +> V1PodCertificateRequest | 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) delete a PodCertificateRequest @@ -884,7 +884,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1PodCertificateRequest**](V1PodCertificateRequest.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/CertificatesV1beta1Api.md b/kubernetes/aio/docs/CertificatesV1beta1Api.md index bafdff0032..5e6e95b872 100644 --- a/kubernetes/aio/docs/CertificatesV1beta1Api.md +++ b/kubernetes/aio/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** -> 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) +> V1beta1ClusterTrustBundle | 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) delete a ClusterTrustBundle @@ -272,7 +272,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1beta1ClusterTrustBundle**](V1beta1ClusterTrustBundle.md) or [**V1Status**](V1Status.md) ### Authorization @@ -512,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** -> 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) +> V1beta1PodCertificateRequest | 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) delete a PodCertificateRequest @@ -584,7 +584,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1beta1PodCertificateRequest**](V1beta1PodCertificateRequest.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/CoordinationV1Api.md b/kubernetes/aio/docs/CoordinationV1Api.md index 3edd0ecce4..1dd491a75d 100644 --- a/kubernetes/aio/docs/CoordinationV1Api.md +++ b/kubernetes/aio/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** -> 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) +> V1Lease | 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) delete a Lease @@ -287,7 +287,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1Lease**](V1Lease.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/CoordinationV1alpha2Api.md b/kubernetes/aio/docs/CoordinationV1alpha2Api.md index cd3db03b1f..631d773a11 100644 --- a/kubernetes/aio/docs/CoordinationV1alpha2Api.md +++ b/kubernetes/aio/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** -> 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) +> V1alpha2LeaseCandidate | 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) delete a LeaseCandidate @@ -287,7 +287,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1alpha2LeaseCandidate**](V1alpha2LeaseCandidate.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/CoordinationV1beta1Api.md b/kubernetes/aio/docs/CoordinationV1beta1Api.md index a464e05faf..0ec941011e 100644 --- a/kubernetes/aio/docs/CoordinationV1beta1Api.md +++ b/kubernetes/aio/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** -> 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) +> V1beta1LeaseCandidate | 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) delete a LeaseCandidate @@ -287,7 +287,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1beta1LeaseCandidate**](V1beta1LeaseCandidate.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/CoreV1Api.md b/kubernetes/aio/docs/CoreV1Api.md index b2a1a25be2..0585c00b02 100644 --- a/kubernetes/aio/docs/CoreV1Api.md +++ b/kubernetes/aio/docs/CoreV1Api.md @@ -7330,7 +7330,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_namespace** -> object delete_namespace(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) +> V1Namespace | V1Status delete_namespace(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 Namespace @@ -7400,7 +7400,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1Namespace**](V1Namespace.md) or [**V1Status**](V1Status.md) ### Authorization @@ -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** -> 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) +> V1ConfigMap | 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) delete a ConfigMap @@ -7494,7 +7494,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1ConfigMap**](V1ConfigMap.md) or [**V1Status**](V1Status.md) ### Authorization @@ -7516,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** -> 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) +> V1Endpoints | 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) delete Endpoints @@ -7588,7 +7588,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1Endpoints**](V1Endpoints.md) or [**V1Status**](V1Status.md) ### Authorization @@ -7610,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** -> 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) +> CoreV1Event | 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) delete an Event @@ -7682,7 +7682,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**CoreV1Event**](CoreV1Event.md) or [**V1Status**](V1Status.md) ### Authorization @@ -7704,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** -> 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) +> V1LimitRange | 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) delete a LimitRange @@ -7776,7 +7776,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1LimitRange**](V1LimitRange.md) or [**V1Status**](V1Status.md) ### Authorization @@ -7798,7 +7798,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_persistent_volume_claim** -> V1PersistentVolumeClaim delete_namespaced_persistent_volume_claim(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) +> V1PersistentVolumeClaim | V1Status delete_namespaced_persistent_volume_claim(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 PersistentVolumeClaim @@ -7871,7 +7871,7 @@ Name | Type | Description | Notes ### Return type -[**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md) +[**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md) or [**V1Status**](V1Status.md) ### Authorization @@ -7893,7 +7893,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** -> V1Pod delete_namespaced_pod(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) +> V1Pod | V1Status delete_namespaced_pod(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 Pod @@ -7966,7 +7966,7 @@ Name | Type | Description | Notes ### Return type -[**V1Pod**](V1Pod.md) +[**V1Pod**](V1Pod.md) or [**V1Status**](V1Status.md) ### Authorization @@ -7988,7 +7988,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_template** -> V1PodTemplate delete_namespaced_pod_template(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) +> V1PodTemplate | V1Status delete_namespaced_pod_template(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 PodTemplate @@ -8061,7 +8061,7 @@ Name | Type | Description | Notes ### Return type -[**V1PodTemplate**](V1PodTemplate.md) +[**V1PodTemplate**](V1PodTemplate.md) or [**V1Status**](V1Status.md) ### Authorization @@ -8083,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** -> 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) +> V1ReplicationController | 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) delete a ReplicationController @@ -8155,7 +8155,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1ReplicationController**](V1ReplicationController.md) or [**V1Status**](V1Status.md) ### Authorization @@ -8177,7 +8177,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_resource_quota** -> V1ResourceQuota delete_namespaced_resource_quota(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) +> V1ResourceQuota | V1Status delete_namespaced_resource_quota(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 ResourceQuota @@ -8250,7 +8250,7 @@ Name | Type | Description | Notes ### Return type -[**V1ResourceQuota**](V1ResourceQuota.md) +[**V1ResourceQuota**](V1ResourceQuota.md) or [**V1Status**](V1Status.md) ### Authorization @@ -8272,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** -> 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) +> V1Secret | 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) delete a Secret @@ -8344,7 +8344,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1Secret**](V1Secret.md) or [**V1Status**](V1Status.md) ### Authorization @@ -8366,7 +8366,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_service** -> V1Service delete_namespaced_service(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) +> V1Service | V1Status delete_namespaced_service(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 Service @@ -8439,7 +8439,7 @@ Name | Type | Description | Notes ### Return type -[**V1Service**](V1Service.md) +[**V1Service**](V1Service.md) or [**V1Status**](V1Status.md) ### Authorization @@ -8461,7 +8461,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_service_account** -> V1ServiceAccount delete_namespaced_service_account(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) +> V1ServiceAccount | V1Status delete_namespaced_service_account(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 ServiceAccount @@ -8534,7 +8534,7 @@ Name | Type | Description | Notes ### Return type -[**V1ServiceAccount**](V1ServiceAccount.md) +[**V1ServiceAccount**](V1ServiceAccount.md) or [**V1Status**](V1Status.md) ### Authorization @@ -8556,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** -> 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) +> V1Node | 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) delete a Node @@ -8626,7 +8626,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1Node**](V1Node.md) or [**V1Status**](V1Status.md) ### Authorization @@ -8648,7 +8648,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_persistent_volume** -> V1PersistentVolume delete_persistent_volume(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) +> V1PersistentVolume | V1Status delete_persistent_volume(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 PersistentVolume @@ -8719,7 +8719,7 @@ Name | Type | Description | Notes ### Return type -[**V1PersistentVolume**](V1PersistentVolume.md) +[**V1PersistentVolume**](V1PersistentVolume.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/DiscoveryV1Api.md b/kubernetes/aio/docs/DiscoveryV1Api.md index 6ef70f7a52..2f68bc6e3a 100644 --- a/kubernetes/aio/docs/DiscoveryV1Api.md +++ b/kubernetes/aio/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** -> 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) +> V1EndpointSlice | 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) delete an EndpointSlice @@ -287,7 +287,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1EndpointSlice**](V1EndpointSlice.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/EventsV1Api.md b/kubernetes/aio/docs/EventsV1Api.md index fb7c4519b7..c1fae6171c 100644 --- a/kubernetes/aio/docs/EventsV1Api.md +++ b/kubernetes/aio/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** -> 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) +> EventsV1Event | 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) delete an Event @@ -287,7 +287,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**EventsV1Event**](EventsV1Event.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/FlowcontrolApiserverV1Api.md b/kubernetes/aio/docs/FlowcontrolApiserverV1Api.md index 466a7a9206..c767ab71cc 100644 --- a/kubernetes/aio/docs/FlowcontrolApiserverV1Api.md +++ b/kubernetes/aio/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** -> 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) +> V1FlowSchema | 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) delete a FlowSchema @@ -488,7 +488,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1FlowSchema**](V1FlowSchema.md) or [**V1Status**](V1Status.md) ### Authorization @@ -510,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** -> 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) +> V1PriorityLevelConfiguration | 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) delete a PriorityLevelConfiguration @@ -580,7 +580,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1PriorityLevelConfiguration**](V1PriorityLevelConfiguration.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/InternalApiserverV1alpha1Api.md b/kubernetes/aio/docs/InternalApiserverV1alpha1Api.md index 7048f11369..e198803f82 100644 --- a/kubernetes/aio/docs/InternalApiserverV1alpha1Api.md +++ b/kubernetes/aio/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** -> 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) +> V1alpha1StorageVersion | 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) delete a StorageVersion @@ -283,7 +283,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1alpha1StorageVersion**](V1alpha1StorageVersion.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/LifecycleV1alpha1Api.md b/kubernetes/aio/docs/LifecycleV1alpha1Api.md index 67fc5ca81a..8966b3eca6 100644 --- a/kubernetes/aio/docs/LifecycleV1alpha1Api.md +++ b/kubernetes/aio/docs/LifecycleV1alpha1Api.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_eviction** -> object delete_namespaced_eviction(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) +> V1alpha1Eviction | V1Status delete_namespaced_eviction(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 Eviction @@ -500,7 +500,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1alpha1Eviction**](V1alpha1Eviction.md) or [**V1Status**](V1Status.md) ### Authorization @@ -522,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_eviction_request** -> object delete_namespaced_eviction_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) +> V1alpha1EvictionRequest | V1Status delete_namespaced_eviction_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 an EvictionRequest @@ -594,7 +594,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1alpha1EvictionRequest**](V1alpha1EvictionRequest.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/NetworkingV1Api.md b/kubernetes/aio/docs/NetworkingV1Api.md index c13381a3f2..8c0cf774f0 100644 --- a/kubernetes/aio/docs/NetworkingV1Api.md +++ b/kubernetes/aio/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** -> 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) +> V1IngressClass | 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) delete an IngressClass @@ -1104,7 +1104,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1IngressClass**](V1IngressClass.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1126,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** -> 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) +> V1IPAddress | 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) delete an IPAddress @@ -1196,7 +1196,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1IPAddress**](V1IPAddress.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1218,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** -> 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) +> V1Ingress | 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) delete an Ingress @@ -1290,7 +1290,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1Ingress**](V1Ingress.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1312,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** -> 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) +> V1NetworkPolicy | 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) delete a NetworkPolicy @@ -1384,7 +1384,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1NetworkPolicy**](V1NetworkPolicy.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1406,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** -> 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) +> V1ServiceCIDR | 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) delete a ServiceCIDR @@ -1476,7 +1476,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1ServiceCIDR**](V1ServiceCIDR.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/NodeV1Api.md b/kubernetes/aio/docs/NodeV1Api.md index 3f2b2fabb6..62733d7cb1 100644 --- a/kubernetes/aio/docs/NodeV1Api.md +++ b/kubernetes/aio/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** -> 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) +> V1RuntimeClass | 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) delete a RuntimeClass @@ -280,7 +280,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1RuntimeClass**](V1RuntimeClass.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/PolicyV1Api.md b/kubernetes/aio/docs/PolicyV1Api.md index 8d03e03318..1fffce87b6 100644 --- a/kubernetes/aio/docs/PolicyV1Api.md +++ b/kubernetes/aio/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** -> 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) +> V1PodDisruptionBudget | 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) delete a PodDisruptionBudget @@ -290,7 +290,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1PodDisruptionBudget**](V1PodDisruptionBudget.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/RbacAuthorizationV1Api.md b/kubernetes/aio/docs/RbacAuthorizationV1Api.md index ac321ae273..72d77a6ee8 100644 --- a/kubernetes/aio/docs/RbacAuthorizationV1Api.md +++ b/kubernetes/aio/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** -> 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) +> V1ClusterRole | 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) delete a ClusterRole @@ -460,7 +460,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1ClusterRole**](V1ClusterRole.md) or [**V1Status**](V1Status.md) ### Authorization @@ -482,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** -> 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) +> V1ClusterRoleBinding | 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) delete a ClusterRoleBinding @@ -552,7 +552,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1ClusterRoleBinding**](V1ClusterRoleBinding.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1010,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** -> 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) +> V1Role | 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) delete a Role @@ -1082,7 +1082,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1Role**](V1Role.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1104,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** -> 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) +> V1RoleBinding | 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) delete a RoleBinding @@ -1176,7 +1176,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1RoleBinding**](V1RoleBinding.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/ResourceV1Api.md b/kubernetes/aio/docs/ResourceV1Api.md index 67fe5330da..da6a31a652 100644 --- a/kubernetes/aio/docs/ResourceV1Api.md +++ b/kubernetes/aio/docs/ResourceV1Api.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_device_class** -> V1DeviceClass delete_device_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) +> V1DeviceClass | V1Status delete_device_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 DeviceClass @@ -1105,7 +1105,7 @@ Name | Type | Description | Notes ### Return type -[**V1DeviceClass**](V1DeviceClass.md) +[**V1DeviceClass**](V1DeviceClass.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1127,7 +1127,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_device_taint_rule** -> object delete_device_taint_rule(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) +> V1DeviceTaintRule | V1Status delete_device_taint_rule(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 DeviceTaintRule @@ -1197,7 +1197,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1DeviceTaintRule**](V1DeviceTaintRule.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1219,7 +1219,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_resource_claim** -> ResourceV1ResourceClaim delete_namespaced_resource_claim(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) +> ResourceV1ResourceClaim | V1Status delete_namespaced_resource_claim(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 ResourceClaim @@ -1292,7 +1292,7 @@ Name | Type | Description | Notes ### Return type -[**ResourceV1ResourceClaim**](ResourceV1ResourceClaim.md) +[**ResourceV1ResourceClaim**](ResourceV1ResourceClaim.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1314,7 +1314,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_resource_claim_template** -> V1ResourceClaimTemplate delete_namespaced_resource_claim_template(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) +> V1ResourceClaimTemplate | V1Status delete_namespaced_resource_claim_template(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 ResourceClaimTemplate @@ -1387,7 +1387,7 @@ Name | Type | Description | Notes ### Return type -[**V1ResourceClaimTemplate**](V1ResourceClaimTemplate.md) +[**V1ResourceClaimTemplate**](V1ResourceClaimTemplate.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1409,7 +1409,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_resource_slice** -> V1ResourceSlice delete_resource_slice(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) +> V1ResourceSlice | V1Status delete_resource_slice(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 ResourceSlice @@ -1480,7 +1480,7 @@ Name | Type | Description | Notes ### Return type -[**V1ResourceSlice**](V1ResourceSlice.md) +[**V1ResourceSlice**](V1ResourceSlice.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/ResourceV1alpha3Api.md b/kubernetes/aio/docs/ResourceV1alpha3Api.md index 37c0cd1b4b..d3825d4100 100644 --- a/kubernetes/aio/docs/ResourceV1alpha3Api.md +++ b/kubernetes/aio/docs/ResourceV1alpha3Api.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_device_taint_rule** -> V1alpha3DeviceTaintRule delete_device_taint_rule(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) +> V1alpha3DeviceTaintRule | V1Status delete_device_taint_rule(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 DeviceTaintRule @@ -489,7 +489,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha3DeviceTaintRule**](V1alpha3DeviceTaintRule.md) +[**V1alpha3DeviceTaintRule**](V1alpha3DeviceTaintRule.md) or [**V1Status**](V1Status.md) ### Authorization @@ -511,7 +511,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_resource_pool_status_request** -> V1alpha3ResourcePoolStatusRequest delete_resource_pool_status_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) +> V1alpha3ResourcePoolStatusRequest | V1Status delete_resource_pool_status_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 ResourcePoolStatusRequest @@ -582,7 +582,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha3ResourcePoolStatusRequest**](V1alpha3ResourcePoolStatusRequest.md) +[**V1alpha3ResourcePoolStatusRequest**](V1alpha3ResourcePoolStatusRequest.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/ResourceV1beta1Api.md b/kubernetes/aio/docs/ResourceV1beta1Api.md index ae7fd442ec..f992960e4b 100644 --- a/kubernetes/aio/docs/ResourceV1beta1Api.md +++ b/kubernetes/aio/docs/ResourceV1beta1Api.md @@ -829,7 +829,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_device_class** -> V1beta1DeviceClass delete_device_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) +> V1beta1DeviceClass | V1Status delete_device_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 DeviceClass @@ -900,7 +900,7 @@ Name | Type | Description | Notes ### Return type -[**V1beta1DeviceClass**](V1beta1DeviceClass.md) +[**V1beta1DeviceClass**](V1beta1DeviceClass.md) or [**V1Status**](V1Status.md) ### Authorization @@ -922,7 +922,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_resource_claim** -> V1beta1ResourceClaim delete_namespaced_resource_claim(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) +> V1beta1ResourceClaim | V1Status delete_namespaced_resource_claim(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 ResourceClaim @@ -995,7 +995,7 @@ Name | Type | Description | Notes ### Return type -[**V1beta1ResourceClaim**](V1beta1ResourceClaim.md) +[**V1beta1ResourceClaim**](V1beta1ResourceClaim.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1017,7 +1017,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_resource_claim_template** -> V1beta1ResourceClaimTemplate delete_namespaced_resource_claim_template(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) +> V1beta1ResourceClaimTemplate | V1Status delete_namespaced_resource_claim_template(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 ResourceClaimTemplate @@ -1090,7 +1090,7 @@ Name | Type | Description | Notes ### Return type -[**V1beta1ResourceClaimTemplate**](V1beta1ResourceClaimTemplate.md) +[**V1beta1ResourceClaimTemplate**](V1beta1ResourceClaimTemplate.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1112,7 +1112,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_resource_slice** -> V1beta1ResourceSlice delete_resource_slice(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) +> V1beta1ResourceSlice | V1Status delete_resource_slice(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 ResourceSlice @@ -1183,7 +1183,7 @@ Name | Type | Description | Notes ### Return type -[**V1beta1ResourceSlice**](V1beta1ResourceSlice.md) +[**V1beta1ResourceSlice**](V1beta1ResourceSlice.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/ResourceV1beta2Api.md b/kubernetes/aio/docs/ResourceV1beta2Api.md index b77ebe6423..821c860b49 100644 --- a/kubernetes/aio/docs/ResourceV1beta2Api.md +++ b/kubernetes/aio/docs/ResourceV1beta2Api.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_device_class** -> V1beta2DeviceClass delete_device_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) +> V1beta2DeviceClass | V1Status delete_device_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 DeviceClass @@ -1105,7 +1105,7 @@ Name | Type | Description | Notes ### Return type -[**V1beta2DeviceClass**](V1beta2DeviceClass.md) +[**V1beta2DeviceClass**](V1beta2DeviceClass.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1127,7 +1127,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_device_taint_rule** -> V1beta2DeviceTaintRule delete_device_taint_rule(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) +> V1beta2DeviceTaintRule | V1Status delete_device_taint_rule(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 DeviceTaintRule @@ -1198,7 +1198,7 @@ Name | Type | Description | Notes ### Return type -[**V1beta2DeviceTaintRule**](V1beta2DeviceTaintRule.md) +[**V1beta2DeviceTaintRule**](V1beta2DeviceTaintRule.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1220,7 +1220,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_resource_claim** -> V1beta2ResourceClaim delete_namespaced_resource_claim(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) +> V1beta2ResourceClaim | V1Status delete_namespaced_resource_claim(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 ResourceClaim @@ -1293,7 +1293,7 @@ Name | Type | Description | Notes ### Return type -[**V1beta2ResourceClaim**](V1beta2ResourceClaim.md) +[**V1beta2ResourceClaim**](V1beta2ResourceClaim.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1315,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_namespaced_resource_claim_template** -> V1beta2ResourceClaimTemplate delete_namespaced_resource_claim_template(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) +> V1beta2ResourceClaimTemplate | V1Status delete_namespaced_resource_claim_template(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 ResourceClaimTemplate @@ -1388,7 +1388,7 @@ Name | Type | Description | Notes ### Return type -[**V1beta2ResourceClaimTemplate**](V1beta2ResourceClaimTemplate.md) +[**V1beta2ResourceClaimTemplate**](V1beta2ResourceClaimTemplate.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1410,7 +1410,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_resource_slice** -> V1beta2ResourceSlice delete_resource_slice(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) +> V1beta2ResourceSlice | V1Status delete_resource_slice(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 ResourceSlice @@ -1481,7 +1481,7 @@ Name | Type | Description | Notes ### Return type -[**V1beta2ResourceSlice**](V1beta2ResourceSlice.md) +[**V1beta2ResourceSlice**](V1beta2ResourceSlice.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/SchedulingV1Api.md b/kubernetes/aio/docs/SchedulingV1Api.md index e77eaf0c32..7fac49722b 100644 --- a/kubernetes/aio/docs/SchedulingV1Api.md +++ b/kubernetes/aio/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** -> 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) +> V1PriorityClass | 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) delete a PriorityClass @@ -280,7 +280,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1PriorityClass**](V1PriorityClass.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/SchedulingV1alpha3Api.md b/kubernetes/aio/docs/SchedulingV1alpha3Api.md index a7c9efe143..506e640e47 100644 --- a/kubernetes/aio/docs/SchedulingV1alpha3Api.md +++ b/kubernetes/aio/docs/SchedulingV1alpha3Api.md @@ -635,7 +635,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_composite_pod_group** -> object delete_namespaced_composite_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) +> V1alpha3CompositePodGroup | V1Status delete_namespaced_composite_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 CompositePodGroup @@ -707,7 +707,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1alpha3CompositePodGroup**](V1alpha3CompositePodGroup.md) or [**V1Status**](V1Status.md) ### Authorization @@ -729,7 +729,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** -> 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) +> V1alpha3PodGroup | 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) delete a PodGroup @@ -801,7 +801,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1alpha3PodGroup**](V1alpha3PodGroup.md) or [**V1Status**](V1Status.md) ### Authorization @@ -823,7 +823,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** -> 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) +> V1alpha3Workload | 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) delete a Workload @@ -895,7 +895,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1alpha3Workload**](V1alpha3Workload.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/SchedulingV1beta1Api.md b/kubernetes/aio/docs/SchedulingV1beta1Api.md index e68ea4f2b7..7beeeb3fa0 100644 --- a/kubernetes/aio/docs/SchedulingV1beta1Api.md +++ b/kubernetes/aio/docs/SchedulingV1beta1Api.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** -> 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) +> V1beta1PodGroup | 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) delete a PodGroup @@ -497,7 +497,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1beta1PodGroup**](V1beta1PodGroup.md) or [**V1Status**](V1Status.md) ### Authorization @@ -519,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** -> 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) +> V1beta1Workload | 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) delete a Workload @@ -591,7 +591,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1beta1Workload**](V1beta1Workload.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/StorageV1Api.md b/kubernetes/aio/docs/StorageV1Api.md index 6ee91a145d..4c101f8441 100644 --- a/kubernetes/aio/docs/StorageV1Api.md +++ b/kubernetes/aio/docs/StorageV1Api.md @@ -1231,7 +1231,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_csi_driver** -> V1CSIDriver delete_csi_driver(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) +> V1CSIDriver | V1Status delete_csi_driver(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 CSIDriver @@ -1302,7 +1302,7 @@ Name | Type | Description | Notes ### Return type -[**V1CSIDriver**](V1CSIDriver.md) +[**V1CSIDriver**](V1CSIDriver.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1324,7 +1324,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_csi_node** -> V1CSINode delete_csi_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) +> V1CSINode | V1Status delete_csi_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 CSINode @@ -1395,7 +1395,7 @@ Name | Type | Description | Notes ### Return type -[**V1CSINode**](V1CSINode.md) +[**V1CSINode**](V1CSINode.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1417,7 +1417,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** -> 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) +> V1CSIStorageCapacity | 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) delete a CSIStorageCapacity @@ -1489,7 +1489,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1CSIStorageCapacity**](V1CSIStorageCapacity.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1511,7 +1511,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_class** -> V1StorageClass delete_storage_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) +> V1StorageClass | V1Status delete_storage_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 StorageClass @@ -1582,7 +1582,7 @@ Name | Type | Description | Notes ### Return type -[**V1StorageClass**](V1StorageClass.md) +[**V1StorageClass**](V1StorageClass.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1604,7 +1604,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_volume_attachment** -> V1VolumeAttachment delete_volume_attachment(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) +> V1VolumeAttachment | V1Status delete_volume_attachment(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 VolumeAttachment @@ -1675,7 +1675,7 @@ Name | Type | Description | Notes ### Return type -[**V1VolumeAttachment**](V1VolumeAttachment.md) +[**V1VolumeAttachment**](V1VolumeAttachment.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1697,7 +1697,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_volume_attributes_class** -> V1VolumeAttributesClass delete_volume_attributes_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) +> V1VolumeAttributesClass | V1Status delete_volume_attributes_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 VolumeAttributesClass @@ -1768,7 +1768,7 @@ Name | Type | Description | Notes ### Return type -[**V1VolumeAttributesClass**](V1VolumeAttributesClass.md) +[**V1VolumeAttributesClass**](V1VolumeAttributesClass.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/StoragemigrationV1Api.md b/kubernetes/aio/docs/StoragemigrationV1Api.md index 35796780ec..ff1c848671 100644 --- a/kubernetes/aio/docs/StoragemigrationV1Api.md +++ b/kubernetes/aio/docs/StoragemigrationV1Api.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** -> 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) +> V1StorageVersionMigration | 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) delete a StorageVersionMigration @@ -283,7 +283,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1StorageVersionMigration**](V1StorageVersionMigration.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/docs/StoragemigrationV1beta1Api.md b/kubernetes/aio/docs/StoragemigrationV1beta1Api.md index 7db37d16a6..7166a6ff68 100644 --- a/kubernetes/aio/docs/StoragemigrationV1beta1Api.md +++ b/kubernetes/aio/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** -> 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) +> V1beta1StorageVersionMigration | 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) delete a StorageVersionMigration @@ -283,7 +283,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1beta1StorageVersionMigration**](V1beta1StorageVersionMigration.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/aio/e2e_test/test_batch.py b/kubernetes/aio/e2e_test/test_batch.py index 00d87f30c8..297dc1a435 100644 --- a/kubernetes/aio/e2e_test/test_batch.py +++ b/kubernetes/aio/e2e_test/test_batch.py @@ -15,7 +15,7 @@ import uuid from unittest import IsolatedAsyncioTestCase -from kubernetes.aio.client import api_client +from kubernetes.aio.client import V1Job, V1Status, api_client from kubernetes.aio.client.api import batch_v1_api from kubernetes.aio.e2e_test import base @@ -57,11 +57,10 @@ async def test_job_apis(self): resp = await api.delete_namespaced_job( 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']) + if isinstance(resp, V1Job): + self.assertEqual(name, resp.metadata.name) else: - self.assertEqual('Success', resp['status']) - if 'details' in resp: - self.assertEqual(name, resp['details']['name']) + self.assertIsInstance(resp, V1Status) + self.assertEqual('Success', resp.status) + if resp.details is not None: + 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 374267b208..ceb56302d9 100644 --- a/kubernetes/aio/test/test_generated_api.py +++ b/kubernetes/aio/test/test_generated_api.py @@ -25,9 +25,11 @@ Configuration, CoreV1Api, V1ConfigMap, + V1Job, V1ObjectMeta, V1Pod, V1ServicePort, + V1Status, ) from kubernetes.aio.client.rest import RESTClientObject from kubernetes.aio.dynamic import DynamicClient @@ -158,8 +160,7 @@ async def test_delete_job_accepts_job_and_status_responses(self): 'metadata': {'name': 'sample'}, 'status': {'ready': 0}, }, - 'Job', - {'ready': 0}, + V1Job, ), ( { @@ -168,15 +169,14 @@ async def test_delete_job_accepts_job_and_status_responses(self): 'status': 'Success', 'details': {'name': 'sample', 'kind': 'jobs'}, }, - 'Status', - 'Success', + V1Status, ), ) for response_status in (200, 202): - for response, expected_kind, expected_status in responses: + for response, expected in responses: with self.subTest( - status=response_status, kind=expected_kind + status=response_status, kind=response['kind'] ): self.response_status = response_status self.response = response @@ -186,16 +186,9 @@ async def test_delete_job_accepts_job_and_status_responses(self): 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) + self.assertIsInstance(deleted, expected) + self.assertEqual( + response, deleted.model_dump(by_alias=True, exclude_none=True)) request, body = self.requests[-1] self.assertEqual({}, json.loads(body)) self.assertEqual( diff --git a/kubernetes/client/api/admissionregistration_v1_api.py b/kubernetes/client/api/admissionregistration_v1_api.py index f63e51b548..7f8a38462c 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, - ) -> object: + ) -> V1MutatingAdmissionPolicy | V1Status: """delete_mutating_admission_policy delete a MutatingAdmissionPolicy @@ -4372,8 +4372,8 @@ def delete_mutating_admission_policy( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1MutatingAdmissionPolicy | V1Status", + '202': "V1MutatingAdmissionPolicy | V1Status", '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[object, int, Any]: + ) -> Tuple[V1MutatingAdmissionPolicy | V1Status, 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': "object", - '202': "object", + '200': "V1MutatingAdmissionPolicy | V1Status", + '202': "V1MutatingAdmissionPolicy | V1Status", '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, - ) -> object: + ) -> V1MutatingAdmissionPolicyBinding | V1Status: """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': "object", - '202': "object", + '200': "V1MutatingAdmissionPolicyBinding | V1Status", + '202': "V1MutatingAdmissionPolicyBinding | V1Status", '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[object, int, Any]: + ) -> Tuple[V1MutatingAdmissionPolicyBinding | V1Status, 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': "object", - '202': "object", + '200': "V1MutatingAdmissionPolicyBinding | V1Status", + '202': "V1MutatingAdmissionPolicyBinding | V1Status", '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, - ) -> object: + ) -> V1MutatingWebhookConfiguration | V1Status: """delete_mutating_webhook_configuration delete a MutatingWebhookConfiguration @@ -5004,8 +5004,8 @@ def delete_mutating_webhook_configuration( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1MutatingWebhookConfiguration | V1Status", + '202': "V1MutatingWebhookConfiguration | V1Status", '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[object, int, Any]: + ) -> Tuple[V1MutatingWebhookConfiguration | V1Status, 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': "object", - '202': "object", + '200': "V1MutatingWebhookConfiguration | V1Status", + '202': "V1MutatingWebhookConfiguration | V1Status", '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, - ) -> object: + ) -> V1ValidatingAdmissionPolicy | V1Status: """delete_validating_admission_policy delete a ValidatingAdmissionPolicy @@ -5320,8 +5320,8 @@ def delete_validating_admission_policy( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ValidatingAdmissionPolicy | V1Status", + '202': "V1ValidatingAdmissionPolicy | V1Status", '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[object, int, Any]: + ) -> Tuple[V1ValidatingAdmissionPolicy | V1Status, 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': "object", - '202': "object", + '200': "V1ValidatingAdmissionPolicy | V1Status", + '202': "V1ValidatingAdmissionPolicy | V1Status", '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, - ) -> object: + ) -> V1ValidatingAdmissionPolicyBinding | V1Status: """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': "object", - '202': "object", + '200': "V1ValidatingAdmissionPolicyBinding | V1Status", + '202': "V1ValidatingAdmissionPolicyBinding | V1Status", '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[object, int, Any]: + ) -> Tuple[V1ValidatingAdmissionPolicyBinding | V1Status, 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': "object", - '202': "object", + '200': "V1ValidatingAdmissionPolicyBinding | V1Status", + '202': "V1ValidatingAdmissionPolicyBinding | V1Status", '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, - ) -> object: + ) -> V1ValidatingWebhookConfiguration | V1Status: """delete_validating_webhook_configuration delete a ValidatingWebhookConfiguration @@ -5952,8 +5952,8 @@ def delete_validating_webhook_configuration( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ValidatingWebhookConfiguration | V1Status", + '202': "V1ValidatingWebhookConfiguration | V1Status", '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[object, int, Any]: + ) -> Tuple[V1ValidatingWebhookConfiguration | V1Status, 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': "object", - '202': "object", + '200': "V1ValidatingWebhookConfiguration | V1Status", + '202': "V1ValidatingWebhookConfiguration | V1Status", '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 a19fe54453..0035c75adc 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, - ) -> object: + ) -> V1alpha1MutatingAdmissionPolicy | V1Status: """delete_mutating_admission_policy delete a MutatingAdmissionPolicy @@ -1560,8 +1560,8 @@ def delete_mutating_admission_policy( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha1MutatingAdmissionPolicy | V1Status", + '202': "V1alpha1MutatingAdmissionPolicy | V1Status", '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[object, int, Any]: + ) -> Tuple[V1alpha1MutatingAdmissionPolicy | V1Status, 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': "object", - '202': "object", + '200': "V1alpha1MutatingAdmissionPolicy | V1Status", + '202': "V1alpha1MutatingAdmissionPolicy | V1Status", '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, - ) -> object: + ) -> V1alpha1MutatingAdmissionPolicyBinding | V1Status: """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': "object", - '202': "object", + '200': "V1alpha1MutatingAdmissionPolicyBinding | V1Status", + '202': "V1alpha1MutatingAdmissionPolicyBinding | V1Status", '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[object, int, Any]: + ) -> Tuple[V1alpha1MutatingAdmissionPolicyBinding | V1Status, 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': "object", - '202': "object", + '200': "V1alpha1MutatingAdmissionPolicyBinding | V1Status", + '202': "V1alpha1MutatingAdmissionPolicyBinding | V1Status", '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 3354842758..c3b3c222f9 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, - ) -> object: + ) -> V1beta1MutatingAdmissionPolicy | V1Status: """delete_mutating_admission_policy delete a MutatingAdmissionPolicy @@ -1560,8 +1560,8 @@ def delete_mutating_admission_policy( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1beta1MutatingAdmissionPolicy | V1Status", + '202': "V1beta1MutatingAdmissionPolicy | V1Status", '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[object, int, Any]: + ) -> Tuple[V1beta1MutatingAdmissionPolicy | V1Status, 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': "object", - '202': "object", + '200': "V1beta1MutatingAdmissionPolicy | V1Status", + '202': "V1beta1MutatingAdmissionPolicy | V1Status", '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, - ) -> object: + ) -> V1beta1MutatingAdmissionPolicyBinding | V1Status: """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': "object", - '202': "object", + '200': "V1beta1MutatingAdmissionPolicyBinding | V1Status", + '202': "V1beta1MutatingAdmissionPolicyBinding | V1Status", '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[object, int, Any]: + ) -> Tuple[V1beta1MutatingAdmissionPolicyBinding | V1Status, 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': "object", - '202': "object", + '200': "V1beta1MutatingAdmissionPolicyBinding | V1Status", + '202': "V1beta1MutatingAdmissionPolicyBinding | V1Status", '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 d28b3028a6..3d817302a9 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, - ) -> object: + ) -> V1CustomResourceDefinition | V1Status: """delete_custom_resource_definition delete a CustomResourceDefinition @@ -857,8 +857,8 @@ def delete_custom_resource_definition( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1CustomResourceDefinition | V1Status", + '202': "V1CustomResourceDefinition | V1Status", '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[object, int, Any]: + ) -> Tuple[V1CustomResourceDefinition | V1Status, 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': "object", - '202': "object", + '200': "V1CustomResourceDefinition | V1Status", + '202': "V1CustomResourceDefinition | V1Status", '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 c6d2e7ca7f..9a47a7c53e 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, - ) -> object: + ) -> V1APIService | V1Status: """delete_api_service delete an APIService @@ -437,8 +437,8 @@ def delete_api_service( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1APIService | V1Status", + '202': "V1APIService | V1Status", '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[object, int, Any]: + ) -> Tuple[V1APIService | V1Status, 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': "object", - '202': "object", + '200': "V1APIService | V1Status", + '202': "V1APIService | V1Status", '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 e743e24006..b3f225c8cd 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, - ) -> object: + ) -> V1ControllerRevision | V1Status: """delete_namespaced_controller_revision delete a ControllerRevision @@ -3784,8 +3784,8 @@ def delete_namespaced_controller_revision( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ControllerRevision | V1Status", + '202': "V1ControllerRevision | V1Status", '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[object, int, Any]: + ) -> Tuple[V1ControllerRevision | V1Status, 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': "object", - '202': "object", + '200': "V1ControllerRevision | V1Status", + '202': "V1ControllerRevision | V1Status", '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, - ) -> object: + ) -> V1DaemonSet | V1Status: """delete_namespaced_daemon_set delete a DaemonSet @@ -4111,8 +4111,8 @@ def delete_namespaced_daemon_set( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1DaemonSet | V1Status", + '202': "V1DaemonSet | V1Status", '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[object, int, Any]: + ) -> Tuple[V1DaemonSet | V1Status, 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': "object", - '202': "object", + '200': "V1DaemonSet | V1Status", + '202': "V1DaemonSet | V1Status", '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, - ) -> object: + ) -> V1Deployment | V1Status: """delete_namespaced_deployment delete a Deployment @@ -4438,8 +4438,8 @@ def delete_namespaced_deployment( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1Deployment | V1Status", + '202': "V1Deployment | V1Status", '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[object, int, Any]: + ) -> Tuple[V1Deployment | V1Status, 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': "object", - '202': "object", + '200': "V1Deployment | V1Status", + '202': "V1Deployment | V1Status", '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, - ) -> object: + ) -> V1ReplicaSet | V1Status: """delete_namespaced_replica_set delete a ReplicaSet @@ -4765,8 +4765,8 @@ def delete_namespaced_replica_set( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ReplicaSet | V1Status", + '202': "V1ReplicaSet | V1Status", '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[object, int, Any]: + ) -> Tuple[V1ReplicaSet | V1Status, 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': "object", - '202': "object", + '200': "V1ReplicaSet | V1Status", + '202': "V1ReplicaSet | V1Status", '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, - ) -> object: + ) -> V1StatefulSet | V1Status: """delete_namespaced_stateful_set delete a StatefulSet @@ -5092,8 +5092,8 @@ def delete_namespaced_stateful_set( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1StatefulSet | V1Status", + '202': "V1StatefulSet | V1Status", '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[object, int, Any]: + ) -> Tuple[V1StatefulSet | V1Status, 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': "object", - '202': "object", + '200': "V1StatefulSet | V1Status", + '202': "V1StatefulSet | V1Status", '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 a87c73b120..78873b34b9 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, - ) -> object: + ) -> V1HorizontalPodAutoscaler | V1Status: """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': "object", - '202': "object", + '200': "V1HorizontalPodAutoscaler | V1Status", + '202': "V1HorizontalPodAutoscaler | V1Status", '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[object, int, Any]: + ) -> Tuple[V1HorizontalPodAutoscaler | V1Status, 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': "object", - '202': "object", + '200': "V1HorizontalPodAutoscaler | V1Status", + '202': "V1HorizontalPodAutoscaler | V1Status", '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 3167131a58..fc7fa95cbb 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, - ) -> object: + ) -> V2HorizontalPodAutoscaler | V1Status: """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': "object", - '202': "object", + '200': "V2HorizontalPodAutoscaler | V1Status", + '202': "V2HorizontalPodAutoscaler | V1Status", '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[object, int, Any]: + ) -> Tuple[V2HorizontalPodAutoscaler | V1Status, 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': "object", - '202': "object", + '200': "V2HorizontalPodAutoscaler | V1Status", + '202': "V2HorizontalPodAutoscaler | V1Status", '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 08e447a070..4ebdb9e0ce 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, - ) -> object: + ) -> V1CronJob | V1Status: """delete_namespaced_cron_job delete a CronJob @@ -1608,8 +1608,8 @@ def delete_namespaced_cron_job( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1CronJob | V1Status", + '202': "V1CronJob | V1Status", '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[object, int, Any]: + ) -> Tuple[V1CronJob | V1Status, 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': "object", - '202': "object", + '200': "V1CronJob | V1Status", + '202': "V1CronJob | V1Status", '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, - ) -> object: + ) -> V1Job | V1Status: """delete_namespaced_job delete a Job @@ -1935,8 +1935,8 @@ def delete_namespaced_job( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1Job | V1Status", + '202': "V1Job | V1Status", '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[object, int, Any]: + ) -> Tuple[V1Job | V1Status, 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': "object", - '202': "object", + '200': "V1Job | V1Status", + '202': "V1Job | V1Status", '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 b8c9afef23..1853f1199f 100644 --- a/kubernetes/client/api/certificates_v1_api.py +++ b/kubernetes/client/api/certificates_v1_api.py @@ -946,7 +946,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, - ) -> object: + ) -> V1CertificateSigningRequest | V1Status: """delete_certificate_signing_request delete a CertificateSigningRequest @@ -1014,8 +1014,8 @@ def delete_certificate_signing_request( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1CertificateSigningRequest | V1Status", + '202': "V1CertificateSigningRequest | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -1054,7 +1054,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[object, int, Any]: + ) -> Tuple[V1CertificateSigningRequest | V1Status, int, Any]: """delete_certificate_signing_request delete a CertificateSigningRequest @@ -1122,8 +1122,8 @@ def delete_certificate_signing_request_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1CertificateSigningRequest | V1Status", + '202': "V1CertificateSigningRequest | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -1262,7 +1262,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, - ) -> object: + ) -> V1ClusterTrustBundle | V1Status: """delete_cluster_trust_bundle delete a ClusterTrustBundle @@ -1330,8 +1330,8 @@ def delete_cluster_trust_bundle( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ClusterTrustBundle | V1Status", + '202': "V1ClusterTrustBundle | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -1370,7 +1370,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[object, int, Any]: + ) -> Tuple[V1ClusterTrustBundle | V1Status, int, Any]: """delete_cluster_trust_bundle delete a ClusterTrustBundle @@ -1438,8 +1438,8 @@ def delete_cluster_trust_bundle_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ClusterTrustBundle | V1Status", + '202': "V1ClusterTrustBundle | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -2850,7 +2850,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, - ) -> object: + ) -> V1PodCertificateRequest | V1Status: """delete_namespaced_pod_certificate_request delete a PodCertificateRequest @@ -2921,8 +2921,8 @@ def delete_namespaced_pod_certificate_request( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1PodCertificateRequest | V1Status", + '202': "V1PodCertificateRequest | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -2962,7 +2962,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[object, int, Any]: + ) -> Tuple[V1PodCertificateRequest | V1Status, int, Any]: """delete_namespaced_pod_certificate_request delete a PodCertificateRequest @@ -3033,8 +3033,8 @@ def delete_namespaced_pod_certificate_request_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1PodCertificateRequest | V1Status", + '202': "V1PodCertificateRequest | V1Status", '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 8ba9dd4613..48b66977a3 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, - ) -> object: + ) -> V1beta1ClusterTrustBundle | V1Status: """delete_cluster_trust_bundle delete a ClusterTrustBundle @@ -731,8 +731,8 @@ def delete_cluster_trust_bundle( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1beta1ClusterTrustBundle | V1Status", + '202': "V1beta1ClusterTrustBundle | V1Status", '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[object, int, Any]: + ) -> Tuple[V1beta1ClusterTrustBundle | V1Status, 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': "object", - '202': "object", + '200': "V1beta1ClusterTrustBundle | V1Status", + '202': "V1beta1ClusterTrustBundle | V1Status", '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, - ) -> object: + ) -> V1beta1PodCertificateRequest | V1Status: """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': "object", - '202': "object", + '200': "V1beta1PodCertificateRequest | V1Status", + '202': "V1beta1PodCertificateRequest | V1Status", '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[object, int, Any]: + ) -> Tuple[V1beta1PodCertificateRequest | V1Status, 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': "object", - '202': "object", + '200': "V1beta1PodCertificateRequest | V1Status", + '202': "V1beta1PodCertificateRequest | V1Status", '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 a672087375..1ebd7d9588 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, - ) -> object: + ) -> V1Lease | V1Status: """delete_namespaced_lease delete a Lease @@ -883,8 +883,8 @@ def delete_namespaced_lease( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1Lease | V1Status", + '202': "V1Lease | V1Status", '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[object, int, Any]: + ) -> Tuple[V1Lease | V1Status, 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': "object", - '202': "object", + '200': "V1Lease | V1Status", + '202': "V1Lease | V1Status", '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 bdba1e43e9..05798ece4e 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, - ) -> object: + ) -> V1alpha2LeaseCandidate | V1Status: """delete_namespaced_lease_candidate delete a LeaseCandidate @@ -883,8 +883,8 @@ def delete_namespaced_lease_candidate( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha2LeaseCandidate | V1Status", + '202': "V1alpha2LeaseCandidate | V1Status", '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[object, int, Any]: + ) -> Tuple[V1alpha2LeaseCandidate | V1Status, 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': "object", - '202': "object", + '200': "V1alpha2LeaseCandidate | V1Status", + '202': "V1alpha2LeaseCandidate | V1Status", '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 c49642b9ae..aa7e6e0525 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, - ) -> object: + ) -> V1beta1LeaseCandidate | V1Status: """delete_namespaced_lease_candidate delete a LeaseCandidate @@ -883,8 +883,8 @@ def delete_namespaced_lease_candidate( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1beta1LeaseCandidate | V1Status", + '202': "V1beta1LeaseCandidate | V1Status", '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[object, int, Any]: + ) -> Tuple[V1beta1LeaseCandidate | V1Status, 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': "object", - '202': "object", + '200': "V1beta1LeaseCandidate | V1Status", + '202': "V1beta1LeaseCandidate | V1Status", '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 5336e3033f..8ae5bcaf44 100644 --- a/kubernetes/client/api/core_v1_api.py +++ b/kubernetes/client/api/core_v1_api.py @@ -23803,7 +23803,7 @@ def delete_namespace( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> V1Namespace | V1Status: """delete_namespace delete a Namespace @@ -23871,8 +23871,8 @@ def delete_namespace( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1Namespace | V1Status", + '202': "V1Namespace | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -23911,7 +23911,7 @@ def delete_namespace_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[object, int, Any]: + ) -> Tuple[V1Namespace | V1Status, int, Any]: """delete_namespace delete a Namespace @@ -23979,8 +23979,8 @@ def delete_namespace_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1Namespace | V1Status", + '202': "V1Namespace | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -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, - ) -> object: + ) -> V1ConfigMap | V1Status: """delete_namespaced_config_map delete a ConfigMap @@ -24191,8 +24191,8 @@ def delete_namespaced_config_map( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ConfigMap | V1Status", + '202': "V1ConfigMap | V1Status", '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[object, int, Any]: + ) -> Tuple[V1ConfigMap | V1Status, 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': "object", - '202': "object", + '200': "V1ConfigMap | V1Status", + '202': "V1ConfigMap | V1Status", '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, - ) -> object: + ) -> V1Endpoints | V1Status: """delete_namespaced_endpoints delete Endpoints @@ -24518,8 +24518,8 @@ def delete_namespaced_endpoints( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1Endpoints | V1Status", + '202': "V1Endpoints | V1Status", '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[object, int, Any]: + ) -> Tuple[V1Endpoints | V1Status, 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': "object", - '202': "object", + '200': "V1Endpoints | V1Status", + '202': "V1Endpoints | V1Status", '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, - ) -> object: + ) -> CoreV1Event | V1Status: """delete_namespaced_event delete an Event @@ -24845,8 +24845,8 @@ def delete_namespaced_event( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "CoreV1Event | V1Status", + '202': "CoreV1Event | V1Status", '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[object, int, Any]: + ) -> Tuple[CoreV1Event | V1Status, 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': "object", - '202': "object", + '200': "CoreV1Event | V1Status", + '202': "CoreV1Event | V1Status", '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, - ) -> object: + ) -> V1LimitRange | V1Status: """delete_namespaced_limit_range delete a LimitRange @@ -25172,8 +25172,8 @@ def delete_namespaced_limit_range( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1LimitRange | V1Status", + '202': "V1LimitRange | V1Status", '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[object, int, Any]: + ) -> Tuple[V1LimitRange | V1Status, 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': "object", - '202': "object", + '200': "V1LimitRange | V1Status", + '202': "V1LimitRange | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -25428,7 +25428,7 @@ def delete_namespaced_persistent_volume_claim( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1PersistentVolumeClaim: + ) -> V1PersistentVolumeClaim | V1Status: """delete_namespaced_persistent_volume_claim delete a PersistentVolumeClaim @@ -25499,8 +25499,8 @@ def delete_namespaced_persistent_volume_claim( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PersistentVolumeClaim", - '202': "V1PersistentVolumeClaim", + '200': "V1PersistentVolumeClaim | V1Status", + '202': "V1PersistentVolumeClaim | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -25540,7 +25540,7 @@ def delete_namespaced_persistent_volume_claim_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[V1PersistentVolumeClaim, int, Any]: + ) -> Tuple[V1PersistentVolumeClaim | V1Status, int, Any]: """delete_namespaced_persistent_volume_claim delete a PersistentVolumeClaim @@ -25611,8 +25611,8 @@ def delete_namespaced_persistent_volume_claim_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PersistentVolumeClaim", - '202': "V1PersistentVolumeClaim", + '200': "V1PersistentVolumeClaim | V1Status", + '202': "V1PersistentVolumeClaim | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -25755,7 +25755,7 @@ def delete_namespaced_pod( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Pod: + ) -> V1Pod | V1Status: """delete_namespaced_pod delete a Pod @@ -25826,8 +25826,8 @@ def delete_namespaced_pod( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Pod", - '202': "V1Pod", + '200': "V1Pod | V1Status", + '202': "V1Pod | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -25867,7 +25867,7 @@ def delete_namespaced_pod_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[V1Pod, int, Any]: + ) -> Tuple[V1Pod | V1Status, int, Any]: """delete_namespaced_pod delete a Pod @@ -25938,8 +25938,8 @@ def delete_namespaced_pod_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Pod", - '202': "V1Pod", + '200': "V1Pod | V1Status", + '202': "V1Pod | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -26082,7 +26082,7 @@ def delete_namespaced_pod_template( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1PodTemplate: + ) -> V1PodTemplate | V1Status: """delete_namespaced_pod_template delete a PodTemplate @@ -26153,8 +26153,8 @@ def delete_namespaced_pod_template( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PodTemplate", - '202': "V1PodTemplate", + '200': "V1PodTemplate | V1Status", + '202': "V1PodTemplate | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -26194,7 +26194,7 @@ def delete_namespaced_pod_template_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[V1PodTemplate, int, Any]: + ) -> Tuple[V1PodTemplate | V1Status, int, Any]: """delete_namespaced_pod_template delete a PodTemplate @@ -26265,8 +26265,8 @@ def delete_namespaced_pod_template_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PodTemplate", - '202': "V1PodTemplate", + '200': "V1PodTemplate | V1Status", + '202': "V1PodTemplate | V1Status", '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, - ) -> object: + ) -> V1ReplicationController | V1Status: """delete_namespaced_replication_controller delete a ReplicationController @@ -26480,8 +26480,8 @@ def delete_namespaced_replication_controller( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ReplicationController | V1Status", + '202': "V1ReplicationController | V1Status", '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[object, int, Any]: + ) -> Tuple[V1ReplicationController | V1Status, 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': "object", - '202': "object", + '200': "V1ReplicationController | V1Status", + '202': "V1ReplicationController | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -26736,7 +26736,7 @@ def delete_namespaced_resource_quota( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ResourceQuota: + ) -> V1ResourceQuota | V1Status: """delete_namespaced_resource_quota delete a ResourceQuota @@ -26807,8 +26807,8 @@ def delete_namespaced_resource_quota( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ResourceQuota", - '202': "V1ResourceQuota", + '200': "V1ResourceQuota | V1Status", + '202': "V1ResourceQuota | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -26848,7 +26848,7 @@ def delete_namespaced_resource_quota_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[V1ResourceQuota, int, Any]: + ) -> Tuple[V1ResourceQuota | V1Status, int, Any]: """delete_namespaced_resource_quota delete a ResourceQuota @@ -26919,8 +26919,8 @@ def delete_namespaced_resource_quota_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ResourceQuota", - '202': "V1ResourceQuota", + '200': "V1ResourceQuota | V1Status", + '202': "V1ResourceQuota | V1Status", '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, - ) -> object: + ) -> V1Secret | V1Status: """delete_namespaced_secret delete a Secret @@ -27134,8 +27134,8 @@ def delete_namespaced_secret( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1Secret | V1Status", + '202': "V1Secret | V1Status", '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[object, int, Any]: + ) -> Tuple[V1Secret | V1Status, 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': "object", - '202': "object", + '200': "V1Secret | V1Status", + '202': "V1Secret | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -27390,7 +27390,7 @@ def delete_namespaced_service( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1Service: + ) -> V1Service | V1Status: """delete_namespaced_service delete a Service @@ -27461,8 +27461,8 @@ def delete_namespaced_service( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Service", - '202': "V1Service", + '200': "V1Service | V1Status", + '202': "V1Service | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -27502,7 +27502,7 @@ def delete_namespaced_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[V1Service, int, Any]: + ) -> Tuple[V1Service | V1Status, int, Any]: """delete_namespaced_service delete a Service @@ -27573,8 +27573,8 @@ def delete_namespaced_service_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1Service", - '202': "V1Service", + '200': "V1Service | V1Status", + '202': "V1Service | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -27717,7 +27717,7 @@ def delete_namespaced_service_account( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ServiceAccount: + ) -> V1ServiceAccount | V1Status: """delete_namespaced_service_account delete a ServiceAccount @@ -27788,8 +27788,8 @@ def delete_namespaced_service_account( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ServiceAccount", - '202': "V1ServiceAccount", + '200': "V1ServiceAccount | V1Status", + '202': "V1ServiceAccount | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -27829,7 +27829,7 @@ def delete_namespaced_service_account_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[V1ServiceAccount, int, Any]: + ) -> Tuple[V1ServiceAccount | V1Status, int, Any]: """delete_namespaced_service_account delete a ServiceAccount @@ -27900,8 +27900,8 @@ def delete_namespaced_service_account_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ServiceAccount", - '202': "V1ServiceAccount", + '200': "V1ServiceAccount | V1Status", + '202': "V1ServiceAccount | V1Status", '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, - ) -> object: + ) -> V1Node | V1Status: """delete_node delete a Node @@ -28111,8 +28111,8 @@ def delete_node( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1Node | V1Status", + '202': "V1Node | V1Status", '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[object, int, Any]: + ) -> Tuple[V1Node | V1Status, 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': "object", - '202': "object", + '200': "V1Node | V1Status", + '202': "V1Node | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -28359,7 +28359,7 @@ def delete_persistent_volume( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1PersistentVolume: + ) -> V1PersistentVolume | V1Status: """delete_persistent_volume delete a PersistentVolume @@ -28427,8 +28427,8 @@ def delete_persistent_volume( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PersistentVolume", - '202': "V1PersistentVolume", + '200': "V1PersistentVolume | V1Status", + '202': "V1PersistentVolume | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -28467,7 +28467,7 @@ def delete_persistent_volume_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[V1PersistentVolume, int, Any]: + ) -> Tuple[V1PersistentVolume | V1Status, int, Any]: """delete_persistent_volume delete a PersistentVolume @@ -28535,8 +28535,8 @@ def delete_persistent_volume_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PersistentVolume", - '202': "V1PersistentVolume", + '200': "V1PersistentVolume | V1Status", + '202': "V1PersistentVolume | V1Status", '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 e12a428224..5dfdd47432 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, - ) -> object: + ) -> V1EndpointSlice | V1Status: """delete_namespaced_endpoint_slice delete an EndpointSlice @@ -883,8 +883,8 @@ def delete_namespaced_endpoint_slice( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1EndpointSlice | V1Status", + '202': "V1EndpointSlice | V1Status", '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[object, int, Any]: + ) -> Tuple[V1EndpointSlice | V1Status, 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': "object", - '202': "object", + '200': "V1EndpointSlice | V1Status", + '202': "V1EndpointSlice | V1Status", '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 4449ad9134..aa76204550 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, - ) -> object: + ) -> EventsV1Event | V1Status: """delete_namespaced_event delete an Event @@ -883,8 +883,8 @@ def delete_namespaced_event( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "EventsV1Event | V1Status", + '202': "EventsV1Event | V1Status", '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[object, int, Any]: + ) -> Tuple[EventsV1Event | V1Status, 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': "object", - '202': "object", + '200': "EventsV1Event | V1Status", + '202': "EventsV1Event | V1Status", '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 725250d5e4..95f0042f48 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, - ) -> object: + ) -> V1FlowSchema | V1Status: """delete_flow_schema delete a FlowSchema @@ -1560,8 +1560,8 @@ def delete_flow_schema( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1FlowSchema | V1Status", + '202': "V1FlowSchema | V1Status", '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[object, int, Any]: + ) -> Tuple[V1FlowSchema | V1Status, 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': "object", - '202': "object", + '200': "V1FlowSchema | V1Status", + '202': "V1FlowSchema | V1Status", '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, - ) -> object: + ) -> V1PriorityLevelConfiguration | V1Status: """delete_priority_level_configuration delete a PriorityLevelConfiguration @@ -1876,8 +1876,8 @@ def delete_priority_level_configuration( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1PriorityLevelConfiguration | V1Status", + '202': "V1PriorityLevelConfiguration | V1Status", '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[object, int, Any]: + ) -> Tuple[V1PriorityLevelConfiguration | V1Status, 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': "object", - '202': "object", + '200': "V1PriorityLevelConfiguration | V1Status", + '202': "V1PriorityLevelConfiguration | V1Status", '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 e66061b2f8..32f00fb810 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, - ) -> object: + ) -> V1alpha1StorageVersion | V1Status: """delete_storage_version delete a StorageVersion @@ -857,8 +857,8 @@ def delete_storage_version( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha1StorageVersion | V1Status", + '202': "V1alpha1StorageVersion | V1Status", '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[object, int, Any]: + ) -> Tuple[V1alpha1StorageVersion | V1Status, 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': "object", - '202': "object", + '200': "V1alpha1StorageVersion | V1Status", + '202': "V1alpha1StorageVersion | V1Status", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/lifecycle_v1alpha1_api.py b/kubernetes/client/api/lifecycle_v1alpha1_api.py index 103ec3052e..ab80264af4 100644 --- a/kubernetes/client/api/lifecycle_v1alpha1_api.py +++ b/kubernetes/client/api/lifecycle_v1alpha1_api.py @@ -1537,7 +1537,7 @@ def delete_namespaced_eviction( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> V1alpha1Eviction | V1Status: """delete_namespaced_eviction delete an Eviction @@ -1608,8 +1608,8 @@ def delete_namespaced_eviction( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha1Eviction | V1Status", + '202': "V1alpha1Eviction | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -1649,7 +1649,7 @@ def delete_namespaced_eviction_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[object, int, Any]: + ) -> Tuple[V1alpha1Eviction | V1Status, int, Any]: """delete_namespaced_eviction delete an Eviction @@ -1720,8 +1720,8 @@ def delete_namespaced_eviction_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha1Eviction | V1Status", + '202': "V1alpha1Eviction | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -1864,7 +1864,7 @@ def delete_namespaced_eviction_request( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> V1alpha1EvictionRequest | V1Status: """delete_namespaced_eviction_request delete an EvictionRequest @@ -1935,8 +1935,8 @@ def delete_namespaced_eviction_request( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha1EvictionRequest | V1Status", + '202': "V1alpha1EvictionRequest | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -1976,7 +1976,7 @@ def delete_namespaced_eviction_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[object, int, Any]: + ) -> Tuple[V1alpha1EvictionRequest | V1Status, int, Any]: """delete_namespaced_eviction_request delete an EvictionRequest @@ -2047,8 +2047,8 @@ def delete_namespaced_eviction_request_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha1EvictionRequest | V1Status", + '202': "V1alpha1EvictionRequest | V1Status", '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 e275f1afb0..d97efe5d4f 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, - ) -> object: + ) -> V1IngressClass | V1Status: """delete_ingress_class delete an IngressClass @@ -3713,8 +3713,8 @@ def delete_ingress_class( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1IngressClass | V1Status", + '202': "V1IngressClass | V1Status", '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[object, int, Any]: + ) -> Tuple[V1IngressClass | V1Status, 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': "object", - '202': "object", + '200': "V1IngressClass | V1Status", + '202': "V1IngressClass | V1Status", '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, - ) -> object: + ) -> V1IPAddress | V1Status: """delete_ip_address delete an IPAddress @@ -4029,8 +4029,8 @@ def delete_ip_address( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1IPAddress | V1Status", + '202': "V1IPAddress | V1Status", '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[object, int, Any]: + ) -> Tuple[V1IPAddress | V1Status, 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': "object", - '202': "object", + '200': "V1IPAddress | V1Status", + '202': "V1IPAddress | V1Status", '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, - ) -> object: + ) -> V1Ingress | V1Status: """delete_namespaced_ingress delete an Ingress @@ -4349,8 +4349,8 @@ def delete_namespaced_ingress( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1Ingress | V1Status", + '202': "V1Ingress | V1Status", '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[object, int, Any]: + ) -> Tuple[V1Ingress | V1Status, 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': "object", - '202': "object", + '200': "V1Ingress | V1Status", + '202': "V1Ingress | V1Status", '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, - ) -> object: + ) -> V1NetworkPolicy | V1Status: """delete_namespaced_network_policy delete a NetworkPolicy @@ -4676,8 +4676,8 @@ def delete_namespaced_network_policy( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1NetworkPolicy | V1Status", + '202': "V1NetworkPolicy | V1Status", '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[object, int, Any]: + ) -> Tuple[V1NetworkPolicy | V1Status, 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': "object", - '202': "object", + '200': "V1NetworkPolicy | V1Status", + '202': "V1NetworkPolicy | V1Status", '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, - ) -> object: + ) -> V1ServiceCIDR | V1Status: """delete_service_cidr delete a ServiceCIDR @@ -4999,8 +4999,8 @@ def delete_service_cidr( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ServiceCIDR | V1Status", + '202': "V1ServiceCIDR | V1Status", '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[object, int, Any]: + ) -> Tuple[V1ServiceCIDR | V1Status, 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': "object", - '202': "object", + '200': "V1ServiceCIDR | V1Status", + '202': "V1ServiceCIDR | V1Status", '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 453fc4806a..cf6a14ab43 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, - ) -> object: + ) -> V1RuntimeClass | V1Status: """delete_runtime_class delete a RuntimeClass @@ -857,8 +857,8 @@ def delete_runtime_class( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1RuntimeClass | V1Status", + '202': "V1RuntimeClass | V1Status", '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[object, int, Any]: + ) -> Tuple[V1RuntimeClass | V1Status, 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': "object", - '202': "object", + '200': "V1RuntimeClass | V1Status", + '202': "V1RuntimeClass | V1Status", '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 5bc8ed75d9..cd5ed65d85 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, - ) -> object: + ) -> V1PodDisruptionBudget | V1Status: """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': "object", - '202': "object", + '200': "V1PodDisruptionBudget | V1Status", + '202': "V1PodDisruptionBudget | V1Status", '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[object, int, Any]: + ) -> Tuple[V1PodDisruptionBudget | V1Status, 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': "object", - '202': "object", + '200': "V1PodDisruptionBudget | V1Status", + '202': "V1PodDisruptionBudget | V1Status", '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 2591df034d..7cbda423ae 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, - ) -> object: + ) -> V1ClusterRole | V1Status: """delete_cluster_role delete a ClusterRole @@ -1308,8 +1308,8 @@ def delete_cluster_role( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ClusterRole | V1Status", + '202': "V1ClusterRole | V1Status", '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[object, int, Any]: + ) -> Tuple[V1ClusterRole | V1Status, 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': "object", - '202': "object", + '200': "V1ClusterRole | V1Status", + '202': "V1ClusterRole | V1Status", '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, - ) -> object: + ) -> V1ClusterRoleBinding | V1Status: """delete_cluster_role_binding delete a ClusterRoleBinding @@ -1624,8 +1624,8 @@ def delete_cluster_role_binding( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1ClusterRoleBinding | V1Status", + '202': "V1ClusterRoleBinding | V1Status", '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[object, int, Any]: + ) -> Tuple[V1ClusterRoleBinding | V1Status, 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': "object", - '202': "object", + '200': "V1ClusterRoleBinding | V1Status", + '202': "V1ClusterRoleBinding | V1Status", '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, - ) -> object: + ) -> V1Role | V1Status: """delete_namespaced_role delete a Role @@ -3646,8 +3646,8 @@ def delete_namespaced_role( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1Role | V1Status", + '202': "V1Role | V1Status", '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[object, int, Any]: + ) -> Tuple[V1Role | V1Status, 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': "object", - '202': "object", + '200': "V1Role | V1Status", + '202': "V1Role | V1Status", '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, - ) -> object: + ) -> V1RoleBinding | V1Status: """delete_namespaced_role_binding delete a RoleBinding @@ -3973,8 +3973,8 @@ def delete_namespaced_role_binding( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1RoleBinding | V1Status", + '202': "V1RoleBinding | V1Status", '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[object, int, Any]: + ) -> Tuple[V1RoleBinding | V1Status, 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': "object", - '202': "object", + '200': "V1RoleBinding | V1Status", + '202': "V1RoleBinding | V1Status", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/resource_v1_api.py b/kubernetes/client/api/resource_v1_api.py index 65b4594393..dbd7cf3f85 100644 --- a/kubernetes/client/api/resource_v1_api.py +++ b/kubernetes/client/api/resource_v1_api.py @@ -3645,7 +3645,7 @@ def delete_device_class( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1DeviceClass: + ) -> V1DeviceClass | V1Status: """delete_device_class delete a DeviceClass @@ -3713,8 +3713,8 @@ def delete_device_class( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1DeviceClass", - '202': "V1DeviceClass", + '200': "V1DeviceClass | V1Status", + '202': "V1DeviceClass | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -3753,7 +3753,7 @@ def delete_device_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[V1DeviceClass, int, Any]: + ) -> Tuple[V1DeviceClass | V1Status, int, Any]: """delete_device_class delete a DeviceClass @@ -3821,8 +3821,8 @@ def delete_device_class_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1DeviceClass", - '202': "V1DeviceClass", + '200': "V1DeviceClass | V1Status", + '202': "V1DeviceClass | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -3961,7 +3961,7 @@ def delete_device_taint_rule( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> V1DeviceTaintRule | V1Status: """delete_device_taint_rule delete a DeviceTaintRule @@ -4029,8 +4029,8 @@ def delete_device_taint_rule( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1DeviceTaintRule | V1Status", + '202': "V1DeviceTaintRule | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -4069,7 +4069,7 @@ def delete_device_taint_rule_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[object, int, Any]: + ) -> Tuple[V1DeviceTaintRule | V1Status, int, Any]: """delete_device_taint_rule delete a DeviceTaintRule @@ -4137,8 +4137,8 @@ def delete_device_taint_rule_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1DeviceTaintRule | V1Status", + '202': "V1DeviceTaintRule | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -4278,7 +4278,7 @@ def delete_namespaced_resource_claim( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ResourceV1ResourceClaim: + ) -> ResourceV1ResourceClaim | V1Status: """delete_namespaced_resource_claim delete a ResourceClaim @@ -4349,8 +4349,8 @@ def delete_namespaced_resource_claim( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ResourceV1ResourceClaim", - '202': "ResourceV1ResourceClaim", + '200': "ResourceV1ResourceClaim | V1Status", + '202': "ResourceV1ResourceClaim | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -4390,7 +4390,7 @@ def delete_namespaced_resource_claim_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[ResourceV1ResourceClaim, int, Any]: + ) -> Tuple[ResourceV1ResourceClaim | V1Status, int, Any]: """delete_namespaced_resource_claim delete a ResourceClaim @@ -4461,8 +4461,8 @@ def delete_namespaced_resource_claim_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ResourceV1ResourceClaim", - '202': "ResourceV1ResourceClaim", + '200': "ResourceV1ResourceClaim | V1Status", + '202': "ResourceV1ResourceClaim | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -4605,7 +4605,7 @@ def delete_namespaced_resource_claim_template( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ResourceClaimTemplate: + ) -> V1ResourceClaimTemplate | V1Status: """delete_namespaced_resource_claim_template delete a ResourceClaimTemplate @@ -4676,8 +4676,8 @@ def delete_namespaced_resource_claim_template( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ResourceClaimTemplate", - '202': "V1ResourceClaimTemplate", + '200': "V1ResourceClaimTemplate | V1Status", + '202': "V1ResourceClaimTemplate | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -4717,7 +4717,7 @@ def delete_namespaced_resource_claim_template_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[V1ResourceClaimTemplate, int, Any]: + ) -> Tuple[V1ResourceClaimTemplate | V1Status, int, Any]: """delete_namespaced_resource_claim_template delete a ResourceClaimTemplate @@ -4788,8 +4788,8 @@ def delete_namespaced_resource_claim_template_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ResourceClaimTemplate", - '202': "V1ResourceClaimTemplate", + '200': "V1ResourceClaimTemplate | V1Status", + '202': "V1ResourceClaimTemplate | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -4931,7 +4931,7 @@ def delete_resource_slice( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ResourceSlice: + ) -> V1ResourceSlice | V1Status: """delete_resource_slice delete a ResourceSlice @@ -4999,8 +4999,8 @@ def delete_resource_slice( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ResourceSlice", - '202': "V1ResourceSlice", + '200': "V1ResourceSlice | V1Status", + '202': "V1ResourceSlice | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -5039,7 +5039,7 @@ def delete_resource_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[V1ResourceSlice, int, Any]: + ) -> Tuple[V1ResourceSlice | V1Status, int, Any]: """delete_resource_slice delete a ResourceSlice @@ -5107,8 +5107,8 @@ def delete_resource_slice_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ResourceSlice", - '202': "V1ResourceSlice", + '200': "V1ResourceSlice | V1Status", + '202': "V1ResourceSlice | V1Status", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/resource_v1alpha3_api.py b/kubernetes/client/api/resource_v1alpha3_api.py index 7d2f339b6f..c679d46808 100644 --- a/kubernetes/client/api/resource_v1alpha3_api.py +++ b/kubernetes/client/api/resource_v1alpha3_api.py @@ -1492,7 +1492,7 @@ def delete_device_taint_rule( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1alpha3DeviceTaintRule: + ) -> V1alpha3DeviceTaintRule | V1Status: """delete_device_taint_rule delete a DeviceTaintRule @@ -1560,8 +1560,8 @@ def delete_device_taint_rule( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1alpha3DeviceTaintRule", - '202': "V1alpha3DeviceTaintRule", + '200': "V1alpha3DeviceTaintRule | V1Status", + '202': "V1alpha3DeviceTaintRule | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -1600,7 +1600,7 @@ def delete_device_taint_rule_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[V1alpha3DeviceTaintRule, int, Any]: + ) -> Tuple[V1alpha3DeviceTaintRule | V1Status, int, Any]: """delete_device_taint_rule delete a DeviceTaintRule @@ -1668,8 +1668,8 @@ def delete_device_taint_rule_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1alpha3DeviceTaintRule", - '202': "V1alpha3DeviceTaintRule", + '200': "V1alpha3DeviceTaintRule | V1Status", + '202': "V1alpha3DeviceTaintRule | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -1808,7 +1808,7 @@ def delete_resource_pool_status_request( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1alpha3ResourcePoolStatusRequest: + ) -> V1alpha3ResourcePoolStatusRequest | V1Status: """delete_resource_pool_status_request delete a ResourcePoolStatusRequest @@ -1876,8 +1876,8 @@ def delete_resource_pool_status_request( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1alpha3ResourcePoolStatusRequest", - '202': "V1alpha3ResourcePoolStatusRequest", + '200': "V1alpha3ResourcePoolStatusRequest | V1Status", + '202': "V1alpha3ResourcePoolStatusRequest | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -1916,7 +1916,7 @@ def delete_resource_pool_status_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[V1alpha3ResourcePoolStatusRequest, int, Any]: + ) -> Tuple[V1alpha3ResourcePoolStatusRequest | V1Status, int, Any]: """delete_resource_pool_status_request delete a ResourcePoolStatusRequest @@ -1984,8 +1984,8 @@ def delete_resource_pool_status_request_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1alpha3ResourcePoolStatusRequest", - '202': "V1alpha3ResourcePoolStatusRequest", + '200': "V1alpha3ResourcePoolStatusRequest | V1Status", + '202': "V1alpha3ResourcePoolStatusRequest | V1Status", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/resource_v1beta1_api.py b/kubernetes/client/api/resource_v1beta1_api.py index 2b34c1c166..2f210bfb12 100644 --- a/kubernetes/client/api/resource_v1beta1_api.py +++ b/kubernetes/client/api/resource_v1beta1_api.py @@ -2942,7 +2942,7 @@ def delete_device_class( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1beta1DeviceClass: + ) -> V1beta1DeviceClass | V1Status: """delete_device_class delete a DeviceClass @@ -3010,8 +3010,8 @@ def delete_device_class( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta1DeviceClass", - '202': "V1beta1DeviceClass", + '200': "V1beta1DeviceClass | V1Status", + '202': "V1beta1DeviceClass | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -3050,7 +3050,7 @@ def delete_device_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[V1beta1DeviceClass, int, Any]: + ) -> Tuple[V1beta1DeviceClass | V1Status, int, Any]: """delete_device_class delete a DeviceClass @@ -3118,8 +3118,8 @@ def delete_device_class_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta1DeviceClass", - '202': "V1beta1DeviceClass", + '200': "V1beta1DeviceClass | V1Status", + '202': "V1beta1DeviceClass | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -3259,7 +3259,7 @@ def delete_namespaced_resource_claim( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1beta1ResourceClaim: + ) -> V1beta1ResourceClaim | V1Status: """delete_namespaced_resource_claim delete a ResourceClaim @@ -3330,8 +3330,8 @@ def delete_namespaced_resource_claim( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta1ResourceClaim", - '202': "V1beta1ResourceClaim", + '200': "V1beta1ResourceClaim | V1Status", + '202': "V1beta1ResourceClaim | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -3371,7 +3371,7 @@ def delete_namespaced_resource_claim_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[V1beta1ResourceClaim, int, Any]: + ) -> Tuple[V1beta1ResourceClaim | V1Status, int, Any]: """delete_namespaced_resource_claim delete a ResourceClaim @@ -3442,8 +3442,8 @@ def delete_namespaced_resource_claim_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta1ResourceClaim", - '202': "V1beta1ResourceClaim", + '200': "V1beta1ResourceClaim | V1Status", + '202': "V1beta1ResourceClaim | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -3586,7 +3586,7 @@ def delete_namespaced_resource_claim_template( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1beta1ResourceClaimTemplate: + ) -> V1beta1ResourceClaimTemplate | V1Status: """delete_namespaced_resource_claim_template delete a ResourceClaimTemplate @@ -3657,8 +3657,8 @@ def delete_namespaced_resource_claim_template( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta1ResourceClaimTemplate", - '202': "V1beta1ResourceClaimTemplate", + '200': "V1beta1ResourceClaimTemplate | V1Status", + '202': "V1beta1ResourceClaimTemplate | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -3698,7 +3698,7 @@ def delete_namespaced_resource_claim_template_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[V1beta1ResourceClaimTemplate, int, Any]: + ) -> Tuple[V1beta1ResourceClaimTemplate | V1Status, int, Any]: """delete_namespaced_resource_claim_template delete a ResourceClaimTemplate @@ -3769,8 +3769,8 @@ def delete_namespaced_resource_claim_template_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta1ResourceClaimTemplate", - '202': "V1beta1ResourceClaimTemplate", + '200': "V1beta1ResourceClaimTemplate | V1Status", + '202': "V1beta1ResourceClaimTemplate | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -3912,7 +3912,7 @@ def delete_resource_slice( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1beta1ResourceSlice: + ) -> V1beta1ResourceSlice | V1Status: """delete_resource_slice delete a ResourceSlice @@ -3980,8 +3980,8 @@ def delete_resource_slice( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta1ResourceSlice", - '202': "V1beta1ResourceSlice", + '200': "V1beta1ResourceSlice | V1Status", + '202': "V1beta1ResourceSlice | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -4020,7 +4020,7 @@ def delete_resource_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[V1beta1ResourceSlice, int, Any]: + ) -> Tuple[V1beta1ResourceSlice | V1Status, int, Any]: """delete_resource_slice delete a ResourceSlice @@ -4088,8 +4088,8 @@ def delete_resource_slice_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta1ResourceSlice", - '202': "V1beta1ResourceSlice", + '200': "V1beta1ResourceSlice | V1Status", + '202': "V1beta1ResourceSlice | V1Status", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/resource_v1beta2_api.py b/kubernetes/client/api/resource_v1beta2_api.py index 0bf08d5244..5437d34357 100644 --- a/kubernetes/client/api/resource_v1beta2_api.py +++ b/kubernetes/client/api/resource_v1beta2_api.py @@ -3645,7 +3645,7 @@ def delete_device_class( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1beta2DeviceClass: + ) -> V1beta2DeviceClass | V1Status: """delete_device_class delete a DeviceClass @@ -3713,8 +3713,8 @@ def delete_device_class( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta2DeviceClass", - '202': "V1beta2DeviceClass", + '200': "V1beta2DeviceClass | V1Status", + '202': "V1beta2DeviceClass | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -3753,7 +3753,7 @@ def delete_device_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[V1beta2DeviceClass, int, Any]: + ) -> Tuple[V1beta2DeviceClass | V1Status, int, Any]: """delete_device_class delete a DeviceClass @@ -3821,8 +3821,8 @@ def delete_device_class_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta2DeviceClass", - '202': "V1beta2DeviceClass", + '200': "V1beta2DeviceClass | V1Status", + '202': "V1beta2DeviceClass | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -3961,7 +3961,7 @@ def delete_device_taint_rule( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1beta2DeviceTaintRule: + ) -> V1beta2DeviceTaintRule | V1Status: """delete_device_taint_rule delete a DeviceTaintRule @@ -4029,8 +4029,8 @@ def delete_device_taint_rule( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta2DeviceTaintRule", - '202': "V1beta2DeviceTaintRule", + '200': "V1beta2DeviceTaintRule | V1Status", + '202': "V1beta2DeviceTaintRule | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -4069,7 +4069,7 @@ def delete_device_taint_rule_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[V1beta2DeviceTaintRule, int, Any]: + ) -> Tuple[V1beta2DeviceTaintRule | V1Status, int, Any]: """delete_device_taint_rule delete a DeviceTaintRule @@ -4137,8 +4137,8 @@ def delete_device_taint_rule_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta2DeviceTaintRule", - '202': "V1beta2DeviceTaintRule", + '200': "V1beta2DeviceTaintRule | V1Status", + '202': "V1beta2DeviceTaintRule | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -4278,7 +4278,7 @@ def delete_namespaced_resource_claim( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1beta2ResourceClaim: + ) -> V1beta2ResourceClaim | V1Status: """delete_namespaced_resource_claim delete a ResourceClaim @@ -4349,8 +4349,8 @@ def delete_namespaced_resource_claim( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta2ResourceClaim", - '202': "V1beta2ResourceClaim", + '200': "V1beta2ResourceClaim | V1Status", + '202': "V1beta2ResourceClaim | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -4390,7 +4390,7 @@ def delete_namespaced_resource_claim_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[V1beta2ResourceClaim, int, Any]: + ) -> Tuple[V1beta2ResourceClaim | V1Status, int, Any]: """delete_namespaced_resource_claim delete a ResourceClaim @@ -4461,8 +4461,8 @@ def delete_namespaced_resource_claim_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta2ResourceClaim", - '202': "V1beta2ResourceClaim", + '200': "V1beta2ResourceClaim | V1Status", + '202': "V1beta2ResourceClaim | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -4605,7 +4605,7 @@ def delete_namespaced_resource_claim_template( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1beta2ResourceClaimTemplate: + ) -> V1beta2ResourceClaimTemplate | V1Status: """delete_namespaced_resource_claim_template delete a ResourceClaimTemplate @@ -4676,8 +4676,8 @@ def delete_namespaced_resource_claim_template( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta2ResourceClaimTemplate", - '202': "V1beta2ResourceClaimTemplate", + '200': "V1beta2ResourceClaimTemplate | V1Status", + '202': "V1beta2ResourceClaimTemplate | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -4717,7 +4717,7 @@ def delete_namespaced_resource_claim_template_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[V1beta2ResourceClaimTemplate, int, Any]: + ) -> Tuple[V1beta2ResourceClaimTemplate | V1Status, int, Any]: """delete_namespaced_resource_claim_template delete a ResourceClaimTemplate @@ -4788,8 +4788,8 @@ def delete_namespaced_resource_claim_template_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta2ResourceClaimTemplate", - '202': "V1beta2ResourceClaimTemplate", + '200': "V1beta2ResourceClaimTemplate | V1Status", + '202': "V1beta2ResourceClaimTemplate | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -4931,7 +4931,7 @@ def delete_resource_slice( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1beta2ResourceSlice: + ) -> V1beta2ResourceSlice | V1Status: """delete_resource_slice delete a ResourceSlice @@ -4999,8 +4999,8 @@ def delete_resource_slice( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta2ResourceSlice", - '202': "V1beta2ResourceSlice", + '200': "V1beta2ResourceSlice | V1Status", + '202': "V1beta2ResourceSlice | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -5039,7 +5039,7 @@ def delete_resource_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[V1beta2ResourceSlice, int, Any]: + ) -> Tuple[V1beta2ResourceSlice | V1Status, int, Any]: """delete_resource_slice delete a ResourceSlice @@ -5107,8 +5107,8 @@ def delete_resource_slice_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1beta2ResourceSlice", - '202': "V1beta2ResourceSlice", + '200': "V1beta2ResourceSlice | V1Status", + '202': "V1beta2ResourceSlice | V1Status", '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 420100cd92..f1742757f8 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, - ) -> object: + ) -> V1PriorityClass | V1Status: """delete_priority_class delete a PriorityClass @@ -857,8 +857,8 @@ def delete_priority_class( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1PriorityClass | V1Status", + '202': "V1PriorityClass | V1Status", '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[object, int, Any]: + ) -> Tuple[V1PriorityClass | V1Status, 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': "object", - '202': "object", + '200': "V1PriorityClass | V1Status", + '202': "V1PriorityClass | V1Status", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/scheduling_v1alpha3_api.py b/kubernetes/client/api/scheduling_v1alpha3_api.py index 2b725dc79a..4855f7399b 100644 --- a/kubernetes/client/api/scheduling_v1alpha3_api.py +++ b/kubernetes/client/api/scheduling_v1alpha3_api.py @@ -2262,7 +2262,7 @@ def delete_namespaced_composite_pod_group( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> V1alpha3CompositePodGroup | V1Status: """delete_namespaced_composite_pod_group delete a CompositePodGroup @@ -2333,8 +2333,8 @@ def delete_namespaced_composite_pod_group( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha3CompositePodGroup | V1Status", + '202': "V1alpha3CompositePodGroup | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -2374,7 +2374,7 @@ def delete_namespaced_composite_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[object, int, Any]: + ) -> Tuple[V1alpha3CompositePodGroup | V1Status, int, Any]: """delete_namespaced_composite_pod_group delete a CompositePodGroup @@ -2445,8 +2445,8 @@ def delete_namespaced_composite_pod_group_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha3CompositePodGroup | V1Status", + '202': "V1alpha3CompositePodGroup | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -2589,7 +2589,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, - ) -> object: + ) -> V1alpha3PodGroup | V1Status: """delete_namespaced_pod_group delete a PodGroup @@ -2660,8 +2660,8 @@ def delete_namespaced_pod_group( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha3PodGroup | V1Status", + '202': "V1alpha3PodGroup | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -2701,7 +2701,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[object, int, Any]: + ) -> Tuple[V1alpha3PodGroup | V1Status, int, Any]: """delete_namespaced_pod_group delete a PodGroup @@ -2772,8 +2772,8 @@ def delete_namespaced_pod_group_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha3PodGroup | V1Status", + '202': "V1alpha3PodGroup | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -2916,7 +2916,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, - ) -> object: + ) -> V1alpha3Workload | V1Status: """delete_namespaced_workload delete a Workload @@ -2987,8 +2987,8 @@ def delete_namespaced_workload( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha3Workload | V1Status", + '202': "V1alpha3Workload | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -3028,7 +3028,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[object, int, Any]: + ) -> Tuple[V1alpha3Workload | V1Status, int, Any]: """delete_namespaced_workload delete a Workload @@ -3099,8 +3099,8 @@ def delete_namespaced_workload_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1alpha3Workload | V1Status", + '202': "V1alpha3Workload | V1Status", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/scheduling_v1beta1_api.py b/kubernetes/client/api/scheduling_v1beta1_api.py index 87d3ad6134..c6dceaf124 100644 --- a/kubernetes/client/api/scheduling_v1beta1_api.py +++ b/kubernetes/client/api/scheduling_v1beta1_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, - ) -> object: + ) -> V1beta1PodGroup | V1Status: """delete_namespaced_pod_group delete a PodGroup @@ -1608,8 +1608,8 @@ def delete_namespaced_pod_group( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1beta1PodGroup | V1Status", + '202': "V1beta1PodGroup | V1Status", '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[object, int, Any]: + ) -> Tuple[V1beta1PodGroup | V1Status, 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': "object", - '202': "object", + '200': "V1beta1PodGroup | V1Status", + '202': "V1beta1PodGroup | V1Status", '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, - ) -> object: + ) -> V1beta1Workload | V1Status: """delete_namespaced_workload delete a Workload @@ -1935,8 +1935,8 @@ def delete_namespaced_workload( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1beta1Workload | V1Status", + '202': "V1beta1Workload | V1Status", '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[object, int, Any]: + ) -> Tuple[V1beta1Workload | V1Status, 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': "object", - '202': "object", + '200': "V1beta1Workload | V1Status", + '202': "V1beta1Workload | V1Status", '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 1a5b473942..4438ce7bf1 100644 --- a/kubernetes/client/api/storage_v1_api.py +++ b/kubernetes/client/api/storage_v1_api.py @@ -4326,7 +4326,7 @@ def delete_csi_driver( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1CSIDriver: + ) -> V1CSIDriver | V1Status: """delete_csi_driver delete a CSIDriver @@ -4394,8 +4394,8 @@ def delete_csi_driver( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1CSIDriver", - '202': "V1CSIDriver", + '200': "V1CSIDriver | V1Status", + '202': "V1CSIDriver | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -4434,7 +4434,7 @@ def delete_csi_driver_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[V1CSIDriver, int, Any]: + ) -> Tuple[V1CSIDriver | V1Status, int, Any]: """delete_csi_driver delete a CSIDriver @@ -4502,8 +4502,8 @@ def delete_csi_driver_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1CSIDriver", - '202': "V1CSIDriver", + '200': "V1CSIDriver | V1Status", + '202': "V1CSIDriver | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -4642,7 +4642,7 @@ def delete_csi_node( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1CSINode: + ) -> V1CSINode | V1Status: """delete_csi_node delete a CSINode @@ -4710,8 +4710,8 @@ def delete_csi_node( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1CSINode", - '202': "V1CSINode", + '200': "V1CSINode | V1Status", + '202': "V1CSINode | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -4750,7 +4750,7 @@ def delete_csi_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[V1CSINode, int, Any]: + ) -> Tuple[V1CSINode | V1Status, int, Any]: """delete_csi_node delete a CSINode @@ -4818,8 +4818,8 @@ def delete_csi_node_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1CSINode", - '202': "V1CSINode", + '200': "V1CSINode | V1Status", + '202': "V1CSINode | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -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, - ) -> object: + ) -> V1CSIStorageCapacity | V1Status: """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': "object", - '202': "object", + '200': "V1CSIStorageCapacity | V1Status", + '202': "V1CSIStorageCapacity | V1Status", '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[object, int, Any]: + ) -> Tuple[V1CSIStorageCapacity | V1Status, 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': "object", - '202': "object", + '200': "V1CSIStorageCapacity | V1Status", + '202': "V1CSIStorageCapacity | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -5285,7 +5285,7 @@ def delete_storage_class( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1StorageClass: + ) -> V1StorageClass | V1Status: """delete_storage_class delete a StorageClass @@ -5353,8 +5353,8 @@ def delete_storage_class( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1StorageClass", - '202': "V1StorageClass", + '200': "V1StorageClass | V1Status", + '202': "V1StorageClass | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -5393,7 +5393,7 @@ def delete_storage_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[V1StorageClass, int, Any]: + ) -> Tuple[V1StorageClass | V1Status, int, Any]: """delete_storage_class delete a StorageClass @@ -5461,8 +5461,8 @@ def delete_storage_class_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1StorageClass", - '202': "V1StorageClass", + '200': "V1StorageClass | V1Status", + '202': "V1StorageClass | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -5601,7 +5601,7 @@ def delete_volume_attachment( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1VolumeAttachment: + ) -> V1VolumeAttachment | V1Status: """delete_volume_attachment delete a VolumeAttachment @@ -5669,8 +5669,8 @@ def delete_volume_attachment( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1VolumeAttachment", - '202': "V1VolumeAttachment", + '200': "V1VolumeAttachment | V1Status", + '202': "V1VolumeAttachment | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -5709,7 +5709,7 @@ def delete_volume_attachment_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[V1VolumeAttachment, int, Any]: + ) -> Tuple[V1VolumeAttachment | V1Status, int, Any]: """delete_volume_attachment delete a VolumeAttachment @@ -5777,8 +5777,8 @@ def delete_volume_attachment_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1VolumeAttachment", - '202': "V1VolumeAttachment", + '200': "V1VolumeAttachment | V1Status", + '202': "V1VolumeAttachment | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -5917,7 +5917,7 @@ def delete_volume_attributes_class( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1VolumeAttributesClass: + ) -> V1VolumeAttributesClass | V1Status: """delete_volume_attributes_class delete a VolumeAttributesClass @@ -5985,8 +5985,8 @@ def delete_volume_attributes_class( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1VolumeAttributesClass", - '202': "V1VolumeAttributesClass", + '200': "V1VolumeAttributesClass | V1Status", + '202': "V1VolumeAttributesClass | V1Status", '401': None, } return self.api_client._call_with_legacy_options( @@ -6025,7 +6025,7 @@ def delete_volume_attributes_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[V1VolumeAttributesClass, int, Any]: + ) -> Tuple[V1VolumeAttributesClass | V1Status, int, Any]: """delete_volume_attributes_class delete a VolumeAttributesClass @@ -6093,8 +6093,8 @@ def delete_volume_attributes_class_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1VolumeAttributesClass", - '202': "V1VolumeAttributesClass", + '200': "V1VolumeAttributesClass | V1Status", + '202': "V1VolumeAttributesClass | V1Status", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api/storagemigration_v1_api.py b/kubernetes/client/api/storagemigration_v1_api.py index 03802dfb58..b464f05bb0 100644 --- a/kubernetes/client/api/storagemigration_v1_api.py +++ b/kubernetes/client/api/storagemigration_v1_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, - ) -> object: + ) -> V1StorageVersionMigration | V1Status: """delete_storage_version_migration delete a StorageVersionMigration @@ -857,8 +857,8 @@ def delete_storage_version_migration( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1StorageVersionMigration | V1Status", + '202': "V1StorageVersionMigration | V1Status", '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[object, int, Any]: + ) -> Tuple[V1StorageVersionMigration | V1Status, 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': "object", - '202': "object", + '200': "V1StorageVersionMigration | V1Status", + '202': "V1StorageVersionMigration | V1Status", '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 0552a0a611..1818c57b92 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, - ) -> object: + ) -> V1beta1StorageVersionMigration | V1Status: """delete_storage_version_migration delete a StorageVersionMigration @@ -857,8 +857,8 @@ def delete_storage_version_migration( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", - '202': "object", + '200': "V1beta1StorageVersionMigration | V1Status", + '202': "V1beta1StorageVersionMigration | V1Status", '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[object, int, Any]: + ) -> Tuple[V1beta1StorageVersionMigration | V1Status, 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': "object", - '202': "object", + '200': "V1beta1StorageVersionMigration | V1Status", + '202': "V1beta1StorageVersionMigration | V1Status", '401': None, } return self.api_client._call_with_legacy_options( diff --git a/kubernetes/client/api_client.py b/kubernetes/client/api_client.py index 40eaa6ea65..9a4fd109dc 100644 --- a/kubernetes/client/api_client.py +++ b/kubernetes/client/api_client.py @@ -76,6 +76,103 @@ def _get_openapi_to_dict(value: Any) -> Any: RequestSerialized = Tuple[str, str, Dict[str, str], Optional[str], List[str]] +_DELETE_MODELS = { + ('admissionregistration.k8s.io/v1', 'MutatingAdmissionPolicy'): 'V1MutatingAdmissionPolicy', + ('admissionregistration.k8s.io/v1', 'MutatingAdmissionPolicyBinding'): 'V1MutatingAdmissionPolicyBinding', + ('admissionregistration.k8s.io/v1', 'MutatingWebhookConfiguration'): 'V1MutatingWebhookConfiguration', + ('admissionregistration.k8s.io/v1', 'ValidatingAdmissionPolicy'): 'V1ValidatingAdmissionPolicy', + ('admissionregistration.k8s.io/v1', 'ValidatingAdmissionPolicyBinding'): 'V1ValidatingAdmissionPolicyBinding', + ('admissionregistration.k8s.io/v1', 'ValidatingWebhookConfiguration'): 'V1ValidatingWebhookConfiguration', + ('admissionregistration.k8s.io/v1alpha1', 'MutatingAdmissionPolicy'): 'V1alpha1MutatingAdmissionPolicy', + ('admissionregistration.k8s.io/v1alpha1', 'MutatingAdmissionPolicyBinding'): 'V1alpha1MutatingAdmissionPolicyBinding', + ('admissionregistration.k8s.io/v1beta1', 'MutatingAdmissionPolicy'): 'V1beta1MutatingAdmissionPolicy', + ('admissionregistration.k8s.io/v1beta1', 'MutatingAdmissionPolicyBinding'): 'V1beta1MutatingAdmissionPolicyBinding', + ('apiextensions.k8s.io/v1', 'CustomResourceDefinition'): 'V1CustomResourceDefinition', + ('apiregistration.k8s.io/v1', 'APIService'): 'V1APIService', + ('apps/v1', 'ControllerRevision'): 'V1ControllerRevision', + ('apps/v1', 'DaemonSet'): 'V1DaemonSet', + ('apps/v1', 'Deployment'): 'V1Deployment', + ('apps/v1', 'ReplicaSet'): 'V1ReplicaSet', + ('apps/v1', 'StatefulSet'): 'V1StatefulSet', + ('autoscaling/v1', 'HorizontalPodAutoscaler'): 'V1HorizontalPodAutoscaler', + ('autoscaling/v2', 'HorizontalPodAutoscaler'): 'V2HorizontalPodAutoscaler', + ('batch/v1', 'CronJob'): 'V1CronJob', + ('batch/v1', 'Job'): 'V1Job', + ('certificates.k8s.io/v1', 'CertificateSigningRequest'): 'V1CertificateSigningRequest', + ('certificates.k8s.io/v1', 'ClusterTrustBundle'): 'V1ClusterTrustBundle', + ('certificates.k8s.io/v1', 'PodCertificateRequest'): 'V1PodCertificateRequest', + ('certificates.k8s.io/v1beta1', 'ClusterTrustBundle'): 'V1beta1ClusterTrustBundle', + ('certificates.k8s.io/v1beta1', 'PodCertificateRequest'): 'V1beta1PodCertificateRequest', + ('coordination.k8s.io/v1', 'Lease'): 'V1Lease', + ('coordination.k8s.io/v1alpha2', 'LeaseCandidate'): 'V1alpha2LeaseCandidate', + ('coordination.k8s.io/v1beta1', 'LeaseCandidate'): 'V1beta1LeaseCandidate', + ('discovery.k8s.io/v1', 'EndpointSlice'): 'V1EndpointSlice', + ('events.k8s.io/v1', 'Event'): 'EventsV1Event', + ('flowcontrol.apiserver.k8s.io/v1', 'FlowSchema'): 'V1FlowSchema', + ('flowcontrol.apiserver.k8s.io/v1', 'PriorityLevelConfiguration'): 'V1PriorityLevelConfiguration', + ('internal.apiserver.k8s.io/v1alpha1', 'StorageVersion'): 'V1alpha1StorageVersion', + ('lifecycle.k8s.io/v1alpha1', 'Eviction'): 'V1alpha1Eviction', + ('lifecycle.k8s.io/v1alpha1', 'EvictionRequest'): 'V1alpha1EvictionRequest', + ('networking.k8s.io/v1', 'IPAddress'): 'V1IPAddress', + ('networking.k8s.io/v1', 'Ingress'): 'V1Ingress', + ('networking.k8s.io/v1', 'IngressClass'): 'V1IngressClass', + ('networking.k8s.io/v1', 'NetworkPolicy'): 'V1NetworkPolicy', + ('networking.k8s.io/v1', 'ServiceCIDR'): 'V1ServiceCIDR', + ('node.k8s.io/v1', 'RuntimeClass'): 'V1RuntimeClass', + ('policy/v1', 'PodDisruptionBudget'): 'V1PodDisruptionBudget', + ('rbac.authorization.k8s.io/v1', 'ClusterRole'): 'V1ClusterRole', + ('rbac.authorization.k8s.io/v1', 'ClusterRoleBinding'): 'V1ClusterRoleBinding', + ('rbac.authorization.k8s.io/v1', 'Role'): 'V1Role', + ('rbac.authorization.k8s.io/v1', 'RoleBinding'): 'V1RoleBinding', + ('resource.k8s.io/v1', 'DeviceClass'): 'V1DeviceClass', + ('resource.k8s.io/v1', 'DeviceTaintRule'): 'V1DeviceTaintRule', + ('resource.k8s.io/v1', 'ResourceClaim'): 'ResourceV1ResourceClaim', + ('resource.k8s.io/v1', 'ResourceClaimTemplate'): 'V1ResourceClaimTemplate', + ('resource.k8s.io/v1', 'ResourceSlice'): 'V1ResourceSlice', + ('resource.k8s.io/v1alpha3', 'DeviceTaintRule'): 'V1alpha3DeviceTaintRule', + ('resource.k8s.io/v1alpha3', 'ResourcePoolStatusRequest'): 'V1alpha3ResourcePoolStatusRequest', + ('resource.k8s.io/v1beta1', 'DeviceClass'): 'V1beta1DeviceClass', + ('resource.k8s.io/v1beta1', 'ResourceClaim'): 'V1beta1ResourceClaim', + ('resource.k8s.io/v1beta1', 'ResourceClaimTemplate'): 'V1beta1ResourceClaimTemplate', + ('resource.k8s.io/v1beta1', 'ResourceSlice'): 'V1beta1ResourceSlice', + ('resource.k8s.io/v1beta2', 'DeviceClass'): 'V1beta2DeviceClass', + ('resource.k8s.io/v1beta2', 'DeviceTaintRule'): 'V1beta2DeviceTaintRule', + ('resource.k8s.io/v1beta2', 'ResourceClaim'): 'V1beta2ResourceClaim', + ('resource.k8s.io/v1beta2', 'ResourceClaimTemplate'): 'V1beta2ResourceClaimTemplate', + ('resource.k8s.io/v1beta2', 'ResourceSlice'): 'V1beta2ResourceSlice', + ('scheduling.k8s.io/v1', 'PriorityClass'): 'V1PriorityClass', + ('scheduling.k8s.io/v1alpha3', 'CompositePodGroup'): 'V1alpha3CompositePodGroup', + ('scheduling.k8s.io/v1alpha3', 'PodGroup'): 'V1alpha3PodGroup', + ('scheduling.k8s.io/v1alpha3', 'Workload'): 'V1alpha3Workload', + ('scheduling.k8s.io/v1beta1', 'PodGroup'): 'V1beta1PodGroup', + ('scheduling.k8s.io/v1beta1', 'Workload'): 'V1beta1Workload', + ('storage.k8s.io/v1', 'CSIDriver'): 'V1CSIDriver', + ('storage.k8s.io/v1', 'CSINode'): 'V1CSINode', + ('storage.k8s.io/v1', 'CSIStorageCapacity'): 'V1CSIStorageCapacity', + ('storage.k8s.io/v1', 'StorageClass'): 'V1StorageClass', + ('storage.k8s.io/v1', 'VolumeAttachment'): 'V1VolumeAttachment', + ('storage.k8s.io/v1', 'VolumeAttributesClass'): 'V1VolumeAttributesClass', + ('storagemigration.k8s.io/v1', 'StorageVersionMigration'): 'V1StorageVersionMigration', + ('storagemigration.k8s.io/v1beta1', 'StorageVersionMigration'): 'V1beta1StorageVersionMigration', + ('v1', 'ConfigMap'): 'V1ConfigMap', + ('v1', 'Endpoints'): 'V1Endpoints', + ('v1', 'Event'): 'CoreV1Event', + ('v1', 'LimitRange'): 'V1LimitRange', + ('v1', 'Namespace'): 'V1Namespace', + ('v1', 'Node'): 'V1Node', + ('v1', 'PersistentVolume'): 'V1PersistentVolume', + ('v1', 'PersistentVolumeClaim'): 'V1PersistentVolumeClaim', + ('v1', 'Pod'): 'V1Pod', + ('v1', 'PodTemplate'): 'V1PodTemplate', + ('v1', 'ReplicationController'): 'V1ReplicationController', + ('v1', 'ResourceQuota'): 'V1ResourceQuota', + ('v1', 'Secret'): 'V1Secret', + ('v1', 'Service'): 'V1Service', + ('v1', 'ServiceAccount'): 'V1ServiceAccount', + ('v1', 'Status'): 'V1Status', +} + + class ApiClient: """Generic API client for OpenAPI client library builds. @@ -533,6 +630,15 @@ def deserialize(self, response_text: str, response_type: str, content_type: Opti reason="Unsupported content type: {0}".format(content_type) ) + if isinstance(response_type, str) and response_type.endswith(" | V1Status"): + match data: + case {"apiVersion": str(version), "kind": str(kind)}: + model = _DELETE_MODELS.get((version, kind)) + if model not in response_type.split(" | "): + raise ValueError(f"Expected {response_type}, got {version}/{kind}") + response_type = model + case _: + raise ValueError(f"Expected apiVersion and kind for {response_type}") return self.__deserialize(data, response_type) def __deserialize(self, data, klass): diff --git a/kubernetes/docs/AdmissionregistrationV1Api.md b/kubernetes/docs/AdmissionregistrationV1Api.md index 0c5e08e799..ae11ee1df3 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** -> 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) +> V1MutatingAdmissionPolicy | 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) delete a MutatingAdmissionPolicy @@ -1293,7 +1293,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1MutatingAdmissionPolicy**](V1MutatingAdmissionPolicy.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1315,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** -> 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) +> V1MutatingAdmissionPolicyBinding | 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) delete a MutatingAdmissionPolicyBinding @@ -1385,7 +1385,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1MutatingAdmissionPolicyBinding**](V1MutatingAdmissionPolicyBinding.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1407,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** -> 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) +> V1MutatingWebhookConfiguration | 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) delete a MutatingWebhookConfiguration @@ -1477,7 +1477,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1MutatingWebhookConfiguration**](V1MutatingWebhookConfiguration.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1499,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** -> 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) +> V1ValidatingAdmissionPolicy | 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) delete a ValidatingAdmissionPolicy @@ -1569,7 +1569,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1ValidatingAdmissionPolicy**](V1ValidatingAdmissionPolicy.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1591,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** -> 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) +> V1ValidatingAdmissionPolicyBinding | 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) delete a ValidatingAdmissionPolicyBinding @@ -1661,7 +1661,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1ValidatingAdmissionPolicyBinding**](V1ValidatingAdmissionPolicyBinding.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1683,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** -> 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) +> V1ValidatingWebhookConfiguration | 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) delete a ValidatingWebhookConfiguration @@ -1753,7 +1753,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1ValidatingWebhookConfiguration**](V1ValidatingWebhookConfiguration.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/AdmissionregistrationV1alpha1Api.md b/kubernetes/docs/AdmissionregistrationV1alpha1Api.md index 27d90ec57c..73785bb45d 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** -> 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) +> V1alpha1MutatingAdmissionPolicy | 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) delete a MutatingAdmissionPolicy @@ -482,7 +482,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1alpha1MutatingAdmissionPolicy**](V1alpha1MutatingAdmissionPolicy.md) or [**V1Status**](V1Status.md) ### Authorization @@ -504,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** -> 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) +> V1alpha1MutatingAdmissionPolicyBinding | 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) delete a MutatingAdmissionPolicyBinding @@ -574,7 +574,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1alpha1MutatingAdmissionPolicyBinding**](V1alpha1MutatingAdmissionPolicyBinding.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/AdmissionregistrationV1beta1Api.md b/kubernetes/docs/AdmissionregistrationV1beta1Api.md index 9b3d7250eb..ef00a4db37 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** -> 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) +> V1beta1MutatingAdmissionPolicy | 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) delete a MutatingAdmissionPolicy @@ -482,7 +482,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1beta1MutatingAdmissionPolicy**](V1beta1MutatingAdmissionPolicy.md) or [**V1Status**](V1Status.md) ### Authorization @@ -504,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** -> 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) +> V1beta1MutatingAdmissionPolicyBinding | 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) delete a MutatingAdmissionPolicyBinding @@ -574,7 +574,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1beta1MutatingAdmissionPolicyBinding**](V1beta1MutatingAdmissionPolicyBinding.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/ApiextensionsV1Api.md b/kubernetes/docs/ApiextensionsV1Api.md index 7ff5129344..0215ca1431 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** -> 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) +> V1CustomResourceDefinition | 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) delete a CustomResourceDefinition @@ -283,7 +283,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1CustomResourceDefinition**](V1CustomResourceDefinition.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/ApiregistrationV1Api.md b/kubernetes/docs/ApiregistrationV1Api.md index be57390ef5..366c622e86 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** -> 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) +> V1APIService | 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) delete an APIService @@ -175,7 +175,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1APIService**](V1APIService.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/AppsV1Api.md b/kubernetes/docs/AppsV1Api.md index 61f1122102..125bd5e613 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** -> 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) +> V1ControllerRevision | 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) delete a ControllerRevision @@ -1136,7 +1136,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1ControllerRevision**](V1ControllerRevision.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1158,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** -> 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) +> V1DaemonSet | 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) delete a DaemonSet @@ -1230,7 +1230,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1DaemonSet**](V1DaemonSet.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1252,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** -> 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) +> V1Deployment | 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) delete a Deployment @@ -1324,7 +1324,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1Deployment**](V1Deployment.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1346,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** -> 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) +> V1ReplicaSet | 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) delete a ReplicaSet @@ -1418,7 +1418,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1ReplicaSet**](V1ReplicaSet.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1440,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** -> 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) +> V1StatefulSet | 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) delete a StatefulSet @@ -1512,7 +1512,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1StatefulSet**](V1StatefulSet.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/AutoscalingV1Api.md b/kubernetes/docs/AutoscalingV1Api.md index 7098aca6e2..dd8a4eb702 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** -> 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) +> V1HorizontalPodAutoscaler | 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) delete a HorizontalPodAutoscaler @@ -290,7 +290,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1HorizontalPodAutoscaler**](V1HorizontalPodAutoscaler.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/AutoscalingV2Api.md b/kubernetes/docs/AutoscalingV2Api.md index 9112508c17..c6a7b99a12 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** -> 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) +> V2HorizontalPodAutoscaler | 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) delete a HorizontalPodAutoscaler @@ -290,7 +290,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V2HorizontalPodAutoscaler**](V2HorizontalPodAutoscaler.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/BatchV1Api.md b/kubernetes/docs/BatchV1Api.md index eb9e8f28bc..145ed28f76 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** -> 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) +> V1CronJob | 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) delete a CronJob @@ -500,7 +500,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1CronJob**](V1CronJob.md) or [**V1Status**](V1Status.md) ### Authorization @@ -522,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** -> 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) +> V1Job | 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) delete a Job @@ -594,7 +594,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1Job**](V1Job.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/CertificatesV1Api.md b/kubernetes/docs/CertificatesV1Api.md index 80b4d3b587..0f79620104 100644 --- a/kubernetes/docs/CertificatesV1Api.md +++ b/kubernetes/docs/CertificatesV1Api.md @@ -302,7 +302,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** -> 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) +> V1CertificateSigningRequest | 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) delete a CertificateSigningRequest @@ -372,7 +372,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1CertificateSigningRequest**](V1CertificateSigningRequest.md) or [**V1Status**](V1Status.md) ### Authorization @@ -394,7 +394,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** -> 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) +> V1ClusterTrustBundle | 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) delete a ClusterTrustBundle @@ -464,7 +464,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1ClusterTrustBundle**](V1ClusterTrustBundle.md) or [**V1Status**](V1Status.md) ### Authorization @@ -812,7 +812,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** -> 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) +> V1PodCertificateRequest | 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) delete a PodCertificateRequest @@ -884,7 +884,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1PodCertificateRequest**](V1PodCertificateRequest.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/CertificatesV1beta1Api.md b/kubernetes/docs/CertificatesV1beta1Api.md index 4965edb2df..5e99ba2fda 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** -> 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) +> V1beta1ClusterTrustBundle | 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) delete a ClusterTrustBundle @@ -272,7 +272,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1beta1ClusterTrustBundle**](V1beta1ClusterTrustBundle.md) or [**V1Status**](V1Status.md) ### Authorization @@ -512,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** -> 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) +> V1beta1PodCertificateRequest | 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) delete a PodCertificateRequest @@ -584,7 +584,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1beta1PodCertificateRequest**](V1beta1PodCertificateRequest.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/CoordinationV1Api.md b/kubernetes/docs/CoordinationV1Api.md index d23fd80b95..68440f1537 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** -> 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) +> V1Lease | 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) delete a Lease @@ -287,7 +287,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1Lease**](V1Lease.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/CoordinationV1alpha2Api.md b/kubernetes/docs/CoordinationV1alpha2Api.md index f0a870074a..b8b9fd323f 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** -> 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) +> V1alpha2LeaseCandidate | 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) delete a LeaseCandidate @@ -287,7 +287,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1alpha2LeaseCandidate**](V1alpha2LeaseCandidate.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/CoordinationV1beta1Api.md b/kubernetes/docs/CoordinationV1beta1Api.md index 2cb6a57dae..d787ce3e74 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** -> 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) +> V1beta1LeaseCandidate | 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) delete a LeaseCandidate @@ -287,7 +287,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1beta1LeaseCandidate**](V1beta1LeaseCandidate.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/CoreV1Api.md b/kubernetes/docs/CoreV1Api.md index a6663e9b1e..0d10a5bfa7 100644 --- a/kubernetes/docs/CoreV1Api.md +++ b/kubernetes/docs/CoreV1Api.md @@ -7330,7 +7330,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_namespace** -> object delete_namespace(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) +> V1Namespace | V1Status delete_namespace(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 Namespace @@ -7400,7 +7400,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1Namespace**](V1Namespace.md) or [**V1Status**](V1Status.md) ### Authorization @@ -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** -> 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) +> V1ConfigMap | 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) delete a ConfigMap @@ -7494,7 +7494,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1ConfigMap**](V1ConfigMap.md) or [**V1Status**](V1Status.md) ### Authorization @@ -7516,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** -> 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) +> V1Endpoints | 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) delete Endpoints @@ -7588,7 +7588,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1Endpoints**](V1Endpoints.md) or [**V1Status**](V1Status.md) ### Authorization @@ -7610,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** -> 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) +> CoreV1Event | 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) delete an Event @@ -7682,7 +7682,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**CoreV1Event**](CoreV1Event.md) or [**V1Status**](V1Status.md) ### Authorization @@ -7704,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** -> 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) +> V1LimitRange | 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) delete a LimitRange @@ -7776,7 +7776,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1LimitRange**](V1LimitRange.md) or [**V1Status**](V1Status.md) ### Authorization @@ -7798,7 +7798,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_persistent_volume_claim** -> V1PersistentVolumeClaim delete_namespaced_persistent_volume_claim(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) +> V1PersistentVolumeClaim | V1Status delete_namespaced_persistent_volume_claim(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 PersistentVolumeClaim @@ -7871,7 +7871,7 @@ Name | Type | Description | Notes ### Return type -[**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md) +[**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md) or [**V1Status**](V1Status.md) ### Authorization @@ -7893,7 +7893,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** -> V1Pod delete_namespaced_pod(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) +> V1Pod | V1Status delete_namespaced_pod(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 Pod @@ -7966,7 +7966,7 @@ Name | Type | Description | Notes ### Return type -[**V1Pod**](V1Pod.md) +[**V1Pod**](V1Pod.md) or [**V1Status**](V1Status.md) ### Authorization @@ -7988,7 +7988,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_template** -> V1PodTemplate delete_namespaced_pod_template(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) +> V1PodTemplate | V1Status delete_namespaced_pod_template(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 PodTemplate @@ -8061,7 +8061,7 @@ Name | Type | Description | Notes ### Return type -[**V1PodTemplate**](V1PodTemplate.md) +[**V1PodTemplate**](V1PodTemplate.md) or [**V1Status**](V1Status.md) ### Authorization @@ -8083,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** -> 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) +> V1ReplicationController | 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) delete a ReplicationController @@ -8155,7 +8155,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1ReplicationController**](V1ReplicationController.md) or [**V1Status**](V1Status.md) ### Authorization @@ -8177,7 +8177,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_resource_quota** -> V1ResourceQuota delete_namespaced_resource_quota(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) +> V1ResourceQuota | V1Status delete_namespaced_resource_quota(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 ResourceQuota @@ -8250,7 +8250,7 @@ Name | Type | Description | Notes ### Return type -[**V1ResourceQuota**](V1ResourceQuota.md) +[**V1ResourceQuota**](V1ResourceQuota.md) or [**V1Status**](V1Status.md) ### Authorization @@ -8272,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** -> 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) +> V1Secret | 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) delete a Secret @@ -8344,7 +8344,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1Secret**](V1Secret.md) or [**V1Status**](V1Status.md) ### Authorization @@ -8366,7 +8366,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_service** -> V1Service delete_namespaced_service(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) +> V1Service | V1Status delete_namespaced_service(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 Service @@ -8439,7 +8439,7 @@ Name | Type | Description | Notes ### Return type -[**V1Service**](V1Service.md) +[**V1Service**](V1Service.md) or [**V1Status**](V1Status.md) ### Authorization @@ -8461,7 +8461,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_service_account** -> V1ServiceAccount delete_namespaced_service_account(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) +> V1ServiceAccount | V1Status delete_namespaced_service_account(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 ServiceAccount @@ -8534,7 +8534,7 @@ Name | Type | Description | Notes ### Return type -[**V1ServiceAccount**](V1ServiceAccount.md) +[**V1ServiceAccount**](V1ServiceAccount.md) or [**V1Status**](V1Status.md) ### Authorization @@ -8556,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** -> 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) +> V1Node | 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) delete a Node @@ -8626,7 +8626,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1Node**](V1Node.md) or [**V1Status**](V1Status.md) ### Authorization @@ -8648,7 +8648,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_persistent_volume** -> V1PersistentVolume delete_persistent_volume(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) +> V1PersistentVolume | V1Status delete_persistent_volume(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 PersistentVolume @@ -8719,7 +8719,7 @@ Name | Type | Description | Notes ### Return type -[**V1PersistentVolume**](V1PersistentVolume.md) +[**V1PersistentVolume**](V1PersistentVolume.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/DiscoveryV1Api.md b/kubernetes/docs/DiscoveryV1Api.md index ce5754a3af..781904e026 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** -> 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) +> V1EndpointSlice | 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) delete an EndpointSlice @@ -287,7 +287,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1EndpointSlice**](V1EndpointSlice.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/EventsV1Api.md b/kubernetes/docs/EventsV1Api.md index d3bd991c29..59fb393178 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** -> 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) +> EventsV1Event | 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) delete an Event @@ -287,7 +287,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**EventsV1Event**](EventsV1Event.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/FlowcontrolApiserverV1Api.md b/kubernetes/docs/FlowcontrolApiserverV1Api.md index 1d03844763..7580486fa1 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** -> 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) +> V1FlowSchema | 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) delete a FlowSchema @@ -488,7 +488,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1FlowSchema**](V1FlowSchema.md) or [**V1Status**](V1Status.md) ### Authorization @@ -510,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** -> 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) +> V1PriorityLevelConfiguration | 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) delete a PriorityLevelConfiguration @@ -580,7 +580,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1PriorityLevelConfiguration**](V1PriorityLevelConfiguration.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/InternalApiserverV1alpha1Api.md b/kubernetes/docs/InternalApiserverV1alpha1Api.md index 97e2f2f584..b4f9c46ce0 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** -> 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) +> V1alpha1StorageVersion | 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) delete a StorageVersion @@ -283,7 +283,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1alpha1StorageVersion**](V1alpha1StorageVersion.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/LifecycleV1alpha1Api.md b/kubernetes/docs/LifecycleV1alpha1Api.md index 5d041fdf36..1788850b70 100644 --- a/kubernetes/docs/LifecycleV1alpha1Api.md +++ b/kubernetes/docs/LifecycleV1alpha1Api.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_eviction** -> object delete_namespaced_eviction(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) +> V1alpha1Eviction | V1Status delete_namespaced_eviction(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 Eviction @@ -500,7 +500,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1alpha1Eviction**](V1alpha1Eviction.md) or [**V1Status**](V1Status.md) ### Authorization @@ -522,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_eviction_request** -> object delete_namespaced_eviction_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) +> V1alpha1EvictionRequest | V1Status delete_namespaced_eviction_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 an EvictionRequest @@ -594,7 +594,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1alpha1EvictionRequest**](V1alpha1EvictionRequest.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/NetworkingV1Api.md b/kubernetes/docs/NetworkingV1Api.md index 0cee83e851..53b4777734 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** -> 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) +> V1IngressClass | 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) delete an IngressClass @@ -1104,7 +1104,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1IngressClass**](V1IngressClass.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1126,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** -> 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) +> V1IPAddress | 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) delete an IPAddress @@ -1196,7 +1196,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1IPAddress**](V1IPAddress.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1218,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** -> 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) +> V1Ingress | 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) delete an Ingress @@ -1290,7 +1290,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1Ingress**](V1Ingress.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1312,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** -> 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) +> V1NetworkPolicy | 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) delete a NetworkPolicy @@ -1384,7 +1384,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1NetworkPolicy**](V1NetworkPolicy.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1406,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** -> 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) +> V1ServiceCIDR | 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) delete a ServiceCIDR @@ -1476,7 +1476,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1ServiceCIDR**](V1ServiceCIDR.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/NodeV1Api.md b/kubernetes/docs/NodeV1Api.md index d1b0cd2243..cce3b5b958 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** -> 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) +> V1RuntimeClass | 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) delete a RuntimeClass @@ -280,7 +280,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1RuntimeClass**](V1RuntimeClass.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/PolicyV1Api.md b/kubernetes/docs/PolicyV1Api.md index b2882c398d..f8d9956444 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** -> 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) +> V1PodDisruptionBudget | 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) delete a PodDisruptionBudget @@ -290,7 +290,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1PodDisruptionBudget**](V1PodDisruptionBudget.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/RbacAuthorizationV1Api.md b/kubernetes/docs/RbacAuthorizationV1Api.md index 2645b84639..549a452eea 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** -> 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) +> V1ClusterRole | 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) delete a ClusterRole @@ -460,7 +460,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1ClusterRole**](V1ClusterRole.md) or [**V1Status**](V1Status.md) ### Authorization @@ -482,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** -> 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) +> V1ClusterRoleBinding | 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) delete a ClusterRoleBinding @@ -552,7 +552,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1ClusterRoleBinding**](V1ClusterRoleBinding.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1010,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** -> 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) +> V1Role | 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) delete a Role @@ -1082,7 +1082,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1Role**](V1Role.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1104,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** -> 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) +> V1RoleBinding | 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) delete a RoleBinding @@ -1176,7 +1176,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1RoleBinding**](V1RoleBinding.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/ResourceV1Api.md b/kubernetes/docs/ResourceV1Api.md index 40329799c5..9fc5aad85e 100644 --- a/kubernetes/docs/ResourceV1Api.md +++ b/kubernetes/docs/ResourceV1Api.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_device_class** -> V1DeviceClass delete_device_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) +> V1DeviceClass | V1Status delete_device_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 DeviceClass @@ -1105,7 +1105,7 @@ Name | Type | Description | Notes ### Return type -[**V1DeviceClass**](V1DeviceClass.md) +[**V1DeviceClass**](V1DeviceClass.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1127,7 +1127,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_device_taint_rule** -> object delete_device_taint_rule(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) +> V1DeviceTaintRule | V1Status delete_device_taint_rule(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 DeviceTaintRule @@ -1197,7 +1197,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1DeviceTaintRule**](V1DeviceTaintRule.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1219,7 +1219,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_resource_claim** -> ResourceV1ResourceClaim delete_namespaced_resource_claim(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) +> ResourceV1ResourceClaim | V1Status delete_namespaced_resource_claim(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 ResourceClaim @@ -1292,7 +1292,7 @@ Name | Type | Description | Notes ### Return type -[**ResourceV1ResourceClaim**](ResourceV1ResourceClaim.md) +[**ResourceV1ResourceClaim**](ResourceV1ResourceClaim.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1314,7 +1314,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_resource_claim_template** -> V1ResourceClaimTemplate delete_namespaced_resource_claim_template(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) +> V1ResourceClaimTemplate | V1Status delete_namespaced_resource_claim_template(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 ResourceClaimTemplate @@ -1387,7 +1387,7 @@ Name | Type | Description | Notes ### Return type -[**V1ResourceClaimTemplate**](V1ResourceClaimTemplate.md) +[**V1ResourceClaimTemplate**](V1ResourceClaimTemplate.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1409,7 +1409,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_resource_slice** -> V1ResourceSlice delete_resource_slice(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) +> V1ResourceSlice | V1Status delete_resource_slice(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 ResourceSlice @@ -1480,7 +1480,7 @@ Name | Type | Description | Notes ### Return type -[**V1ResourceSlice**](V1ResourceSlice.md) +[**V1ResourceSlice**](V1ResourceSlice.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/ResourceV1alpha3Api.md b/kubernetes/docs/ResourceV1alpha3Api.md index 1a6d9b240f..cdffcd6039 100644 --- a/kubernetes/docs/ResourceV1alpha3Api.md +++ b/kubernetes/docs/ResourceV1alpha3Api.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_device_taint_rule** -> V1alpha3DeviceTaintRule delete_device_taint_rule(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) +> V1alpha3DeviceTaintRule | V1Status delete_device_taint_rule(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 DeviceTaintRule @@ -489,7 +489,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha3DeviceTaintRule**](V1alpha3DeviceTaintRule.md) +[**V1alpha3DeviceTaintRule**](V1alpha3DeviceTaintRule.md) or [**V1Status**](V1Status.md) ### Authorization @@ -511,7 +511,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_resource_pool_status_request** -> V1alpha3ResourcePoolStatusRequest delete_resource_pool_status_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) +> V1alpha3ResourcePoolStatusRequest | V1Status delete_resource_pool_status_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 ResourcePoolStatusRequest @@ -582,7 +582,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha3ResourcePoolStatusRequest**](V1alpha3ResourcePoolStatusRequest.md) +[**V1alpha3ResourcePoolStatusRequest**](V1alpha3ResourcePoolStatusRequest.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/ResourceV1beta1Api.md b/kubernetes/docs/ResourceV1beta1Api.md index 1e50ed39a2..a8a892a6b7 100644 --- a/kubernetes/docs/ResourceV1beta1Api.md +++ b/kubernetes/docs/ResourceV1beta1Api.md @@ -829,7 +829,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_device_class** -> V1beta1DeviceClass delete_device_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) +> V1beta1DeviceClass | V1Status delete_device_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 DeviceClass @@ -900,7 +900,7 @@ Name | Type | Description | Notes ### Return type -[**V1beta1DeviceClass**](V1beta1DeviceClass.md) +[**V1beta1DeviceClass**](V1beta1DeviceClass.md) or [**V1Status**](V1Status.md) ### Authorization @@ -922,7 +922,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_resource_claim** -> V1beta1ResourceClaim delete_namespaced_resource_claim(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) +> V1beta1ResourceClaim | V1Status delete_namespaced_resource_claim(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 ResourceClaim @@ -995,7 +995,7 @@ Name | Type | Description | Notes ### Return type -[**V1beta1ResourceClaim**](V1beta1ResourceClaim.md) +[**V1beta1ResourceClaim**](V1beta1ResourceClaim.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1017,7 +1017,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_resource_claim_template** -> V1beta1ResourceClaimTemplate delete_namespaced_resource_claim_template(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) +> V1beta1ResourceClaimTemplate | V1Status delete_namespaced_resource_claim_template(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 ResourceClaimTemplate @@ -1090,7 +1090,7 @@ Name | Type | Description | Notes ### Return type -[**V1beta1ResourceClaimTemplate**](V1beta1ResourceClaimTemplate.md) +[**V1beta1ResourceClaimTemplate**](V1beta1ResourceClaimTemplate.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1112,7 +1112,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_resource_slice** -> V1beta1ResourceSlice delete_resource_slice(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) +> V1beta1ResourceSlice | V1Status delete_resource_slice(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 ResourceSlice @@ -1183,7 +1183,7 @@ Name | Type | Description | Notes ### Return type -[**V1beta1ResourceSlice**](V1beta1ResourceSlice.md) +[**V1beta1ResourceSlice**](V1beta1ResourceSlice.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/ResourceV1beta2Api.md b/kubernetes/docs/ResourceV1beta2Api.md index 02b33ac165..1151aadd0e 100644 --- a/kubernetes/docs/ResourceV1beta2Api.md +++ b/kubernetes/docs/ResourceV1beta2Api.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_device_class** -> V1beta2DeviceClass delete_device_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) +> V1beta2DeviceClass | V1Status delete_device_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 DeviceClass @@ -1105,7 +1105,7 @@ Name | Type | Description | Notes ### Return type -[**V1beta2DeviceClass**](V1beta2DeviceClass.md) +[**V1beta2DeviceClass**](V1beta2DeviceClass.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1127,7 +1127,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_device_taint_rule** -> V1beta2DeviceTaintRule delete_device_taint_rule(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) +> V1beta2DeviceTaintRule | V1Status delete_device_taint_rule(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 DeviceTaintRule @@ -1198,7 +1198,7 @@ Name | Type | Description | Notes ### Return type -[**V1beta2DeviceTaintRule**](V1beta2DeviceTaintRule.md) +[**V1beta2DeviceTaintRule**](V1beta2DeviceTaintRule.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1220,7 +1220,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_resource_claim** -> V1beta2ResourceClaim delete_namespaced_resource_claim(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) +> V1beta2ResourceClaim | V1Status delete_namespaced_resource_claim(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 ResourceClaim @@ -1293,7 +1293,7 @@ Name | Type | Description | Notes ### Return type -[**V1beta2ResourceClaim**](V1beta2ResourceClaim.md) +[**V1beta2ResourceClaim**](V1beta2ResourceClaim.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1315,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_namespaced_resource_claim_template** -> V1beta2ResourceClaimTemplate delete_namespaced_resource_claim_template(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) +> V1beta2ResourceClaimTemplate | V1Status delete_namespaced_resource_claim_template(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 ResourceClaimTemplate @@ -1388,7 +1388,7 @@ Name | Type | Description | Notes ### Return type -[**V1beta2ResourceClaimTemplate**](V1beta2ResourceClaimTemplate.md) +[**V1beta2ResourceClaimTemplate**](V1beta2ResourceClaimTemplate.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1410,7 +1410,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_resource_slice** -> V1beta2ResourceSlice delete_resource_slice(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) +> V1beta2ResourceSlice | V1Status delete_resource_slice(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 ResourceSlice @@ -1481,7 +1481,7 @@ Name | Type | Description | Notes ### Return type -[**V1beta2ResourceSlice**](V1beta2ResourceSlice.md) +[**V1beta2ResourceSlice**](V1beta2ResourceSlice.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/SchedulingV1Api.md b/kubernetes/docs/SchedulingV1Api.md index 78706422d0..b39ba35abc 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** -> 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) +> V1PriorityClass | 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) delete a PriorityClass @@ -280,7 +280,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1PriorityClass**](V1PriorityClass.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/SchedulingV1alpha3Api.md b/kubernetes/docs/SchedulingV1alpha3Api.md index bf51520fdd..0b2848c414 100644 --- a/kubernetes/docs/SchedulingV1alpha3Api.md +++ b/kubernetes/docs/SchedulingV1alpha3Api.md @@ -635,7 +635,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_composite_pod_group** -> object delete_namespaced_composite_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) +> V1alpha3CompositePodGroup | V1Status delete_namespaced_composite_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 CompositePodGroup @@ -707,7 +707,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1alpha3CompositePodGroup**](V1alpha3CompositePodGroup.md) or [**V1Status**](V1Status.md) ### Authorization @@ -729,7 +729,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** -> 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) +> V1alpha3PodGroup | 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) delete a PodGroup @@ -801,7 +801,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1alpha3PodGroup**](V1alpha3PodGroup.md) or [**V1Status**](V1Status.md) ### Authorization @@ -823,7 +823,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** -> 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) +> V1alpha3Workload | 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) delete a Workload @@ -895,7 +895,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1alpha3Workload**](V1alpha3Workload.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/SchedulingV1beta1Api.md b/kubernetes/docs/SchedulingV1beta1Api.md index 1483e14aa4..9b6c11f8a6 100644 --- a/kubernetes/docs/SchedulingV1beta1Api.md +++ b/kubernetes/docs/SchedulingV1beta1Api.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** -> 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) +> V1beta1PodGroup | 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) delete a PodGroup @@ -497,7 +497,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1beta1PodGroup**](V1beta1PodGroup.md) or [**V1Status**](V1Status.md) ### Authorization @@ -519,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** -> 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) +> V1beta1Workload | 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) delete a Workload @@ -591,7 +591,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1beta1Workload**](V1beta1Workload.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/StorageV1Api.md b/kubernetes/docs/StorageV1Api.md index 7d11c62059..32afc663b4 100644 --- a/kubernetes/docs/StorageV1Api.md +++ b/kubernetes/docs/StorageV1Api.md @@ -1231,7 +1231,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_csi_driver** -> V1CSIDriver delete_csi_driver(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) +> V1CSIDriver | V1Status delete_csi_driver(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 CSIDriver @@ -1302,7 +1302,7 @@ Name | Type | Description | Notes ### Return type -[**V1CSIDriver**](V1CSIDriver.md) +[**V1CSIDriver**](V1CSIDriver.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1324,7 +1324,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_csi_node** -> V1CSINode delete_csi_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) +> V1CSINode | V1Status delete_csi_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 CSINode @@ -1395,7 +1395,7 @@ Name | Type | Description | Notes ### Return type -[**V1CSINode**](V1CSINode.md) +[**V1CSINode**](V1CSINode.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1417,7 +1417,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** -> 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) +> V1CSIStorageCapacity | 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) delete a CSIStorageCapacity @@ -1489,7 +1489,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1CSIStorageCapacity**](V1CSIStorageCapacity.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1511,7 +1511,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_class** -> V1StorageClass delete_storage_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) +> V1StorageClass | V1Status delete_storage_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 StorageClass @@ -1582,7 +1582,7 @@ Name | Type | Description | Notes ### Return type -[**V1StorageClass**](V1StorageClass.md) +[**V1StorageClass**](V1StorageClass.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1604,7 +1604,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_volume_attachment** -> V1VolumeAttachment delete_volume_attachment(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) +> V1VolumeAttachment | V1Status delete_volume_attachment(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 VolumeAttachment @@ -1675,7 +1675,7 @@ Name | Type | Description | Notes ### Return type -[**V1VolumeAttachment**](V1VolumeAttachment.md) +[**V1VolumeAttachment**](V1VolumeAttachment.md) or [**V1Status**](V1Status.md) ### Authorization @@ -1697,7 +1697,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_volume_attributes_class** -> V1VolumeAttributesClass delete_volume_attributes_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) +> V1VolumeAttributesClass | V1Status delete_volume_attributes_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 VolumeAttributesClass @@ -1768,7 +1768,7 @@ Name | Type | Description | Notes ### Return type -[**V1VolumeAttributesClass**](V1VolumeAttributesClass.md) +[**V1VolumeAttributesClass**](V1VolumeAttributesClass.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/StoragemigrationV1Api.md b/kubernetes/docs/StoragemigrationV1Api.md index 350a40b9e3..c93ddcd844 100644 --- a/kubernetes/docs/StoragemigrationV1Api.md +++ b/kubernetes/docs/StoragemigrationV1Api.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** -> 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) +> V1StorageVersionMigration | 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) delete a StorageVersionMigration @@ -283,7 +283,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1StorageVersionMigration**](V1StorageVersionMigration.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/docs/StoragemigrationV1beta1Api.md b/kubernetes/docs/StoragemigrationV1beta1Api.md index b37990119d..d2974c7f91 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** -> 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) +> V1beta1StorageVersionMigration | 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) delete a StorageVersionMigration @@ -283,7 +283,7 @@ Name | Type | Description | Notes ### Return type -**object** +[**V1beta1StorageVersionMigration**](V1beta1StorageVersionMigration.md) or [**V1Status**](V1Status.md) ### Authorization diff --git a/kubernetes/e2e_test/test_batch.py b/kubernetes/e2e_test/test_batch.py index a151244610..70fe3b3429 100644 --- a/kubernetes/e2e_test/test_batch.py +++ b/kubernetes/e2e_test/test_batch.py @@ -13,7 +13,7 @@ import unittest import uuid -from kubernetes.client import api_client +from kubernetes.client import V1Job, V1Status, api_client from kubernetes.client.api import batch_v1_api from kubernetes.e2e_test import base @@ -61,11 +61,10 @@ def test_job_apis(self): 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']) + if isinstance(deleted, V1Job): + self.assertEqual(name, deleted.metadata.name) else: - self.assertEqual('Success', deleted['status']) - if 'details' in deleted: - self.assertEqual(name, deleted['details']['name']) + self.assertIsInstance(deleted, V1Status) + self.assertEqual('Success', deleted.status) + if deleted.details is not None: + self.assertEqual(name, deleted.details.name) diff --git a/kubernetes/test/test_generated_api.py b/kubernetes/test/test_generated_api.py index 9d6cdf7395..b077f1d1d2 100644 --- a/kubernetes/test/test_generated_api.py +++ b/kubernetes/test/test_generated_api.py @@ -35,11 +35,14 @@ V1HTTPGetAction, V1IPBlock, V1JSONSchemaProps, + V1Job, V1LifecycleHandler, V1ListMeta, + V1Namespace, V1NetworkPolicyIngressRule, V1NetworkPolicyPort, V1ObjectMeta, + V1Pod, V1PodDisruptionBudgetSpec, V1PodList, V1Probe, @@ -47,6 +50,7 @@ V1RollingUpdateDeployment, V1RollingUpdateStatefulSetStrategy, V1ServicePort, + V1Status, V1StatusCause, V1TCPSocketAction, ) @@ -453,31 +457,39 @@ def test_deferred_api_validation_rejects_invalid_first_call(self): self.assertEqual(('limit',), raised.exception.errors()[0]['loc']) self.assertFalse(hasattr(self.server, 'request_path')) - def test_delete_namespace_accepts_namespace_and_status_responses(self): - responses = [ - { - 'apiVersion': 'v1', - 'kind': 'Namespace', - 'metadata': {'name': 'sample'}, - 'status': {'phase': 'Terminating'}, - }, - { - 'apiVersion': 'v1', - 'kind': 'Status', - 'status': 'Success', - 'details': {'name': 'sample', 'kind': 'namespaces'}, - }, - ] - - for response in responses: - with self.subTest(kind=response['kind']): - self.server.response_body = json.dumps(response).encode() - deleted = CoreV1Api(self.api_client).delete_namespace( - name='sample') - - self.assertEqual(response, deleted) - self.assertEqual( - '/api/v1/namespaces/sample', self.server.request_path) + def test_delete_core_resource_returns_resource_or_status(self): + api = CoreV1Api(self.api_client) + cases = ( + (api.delete_namespaced_config_map, ('sample', 'default'), + V1ConfigMap, {'kind': 'ConfigMap', 'data': {'key': 'value'}}), + (api.delete_namespaced_pod, ('sample', 'default'), + V1Pod, {'kind': 'Pod', 'status': {'phase': 'Running'}}), + (api.delete_namespace, ('sample',), V1Namespace, + {'kind': 'Namespace', 'status': {'phase': 'Terminating'}}), + ) + for delete, args, model, resource in cases: + for expected, payload in ( + (model, resource), + (V1Status, {'kind': 'Status', 'status': 'Success'}), + ): + with self.subTest(delete=delete.__name__, kind=payload['kind']): + response = {'apiVersion': 'v1', **payload} + self.server.response_body = json.dumps(response).encode() + result = delete(*args) + self.assertIsInstance(result, expected) + self.assertEqual( + response, result.model_dump(by_alias=True, exclude_none=True)) + + def test_delete_rejects_unexpected_response_kind_or_version(self): + api = CoreV1Api(self.api_client) + for version, kind in (('example.com/v1', 'ConfigMap'), ('v1', 'Pod')): + with self.subTest(version=version, kind=kind): + self.server.response_body = json.dumps({ + 'apiVersion': version, 'kind': kind, + }).encode() + with self.assertRaises(ValueError) as raised: + api.delete_namespaced_config_map('sample', 'default') + self.assertIn(f'{version}/{kind}', str(raised.exception)) def test_delete_job_preserves_resource_and_status_responses(self): responses = ( @@ -486,10 +498,10 @@ def test_delete_job_preserves_resource_and_status_responses(self): 'apiVersion': 'batch/v1', 'kind': 'Job', 'metadata': {'name': 'sample'}, - 'spec': {'parallelism': 3}, + 'spec': {'parallelism': 3, 'template': {}}, 'status': {'ready': 0}, }, - {'ready': 0}, + V1Job, ), ( { @@ -498,12 +510,12 @@ def test_delete_job_preserves_resource_and_status_responses(self): 'status': 'Success', 'details': {'name': 'sample', 'kind': 'jobs'}, }, - 'Success', + V1Status, ), ) for response_status in (200, 202): - for response, expected_status in responses: + for response, expected in responses: with self.subTest( status=response_status, kind=response['kind'] ): @@ -516,17 +528,9 @@ def test_delete_job_preserves_resource_and_status_responses(self): 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.assertIsInstance(deleted, expected) + self.assertEqual( + response, deleted.model_dump(by_alias=True, exclude_none=True)) self.assertEqual({}, json.loads(self.server.request_body)) self.assertEqual( '/apis/batch/v1/namespaces/default/jobs/sample', @@ -549,7 +553,9 @@ def test_delete_job_with_http_info_preserves_resource_response(self): name='sample', namespace='default', body={}, ) - self.assertEqual(response, deleted) + self.assertIsInstance(deleted, V1Job) + self.assertEqual( + response, deleted.model_dump(by_alias=True, exclude_none=True)) self.assertEqual(202, status) self.assertEqual('application/json', headers['Content-Type']) self.assertEqual({}, json.loads(self.server.request_body))