async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DirectoryDefinition]:
        """
        Discover the latest schema definition for provisioning to an application. 
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[DirectoryDefinition]
        Find more info here: https://learn.microsoft.com/graph/api/synchronization-directorydefinition-discover?view=graph-rest-1.0
        """
        request_info = self.to_post_request_information(
            request_configuration
        )
        from ..........models.o_data_errors.o_data_error import ODataError

        error_mapping: dict[str, type[ParsableFactory]] = {
            "XXX": ODataError,
        }
        if not self.request_adapter:
            raise Exception("Http core is null") 
        from ..........models.directory_definition import DirectoryDefinition

        return await self.request_adapter.send_async(request_info, DirectoryDefinition, error_mapping)

        Discover the latest schema definition for provisioning to an application. 
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[DirectoryDefinition]
        Find more info here: https://learn.microsoft.com/graph/api/synchronization-directorydefinition-discover?view=graph-rest-1.0
        
msgraph/generated/applications/item/synchronization/jobs/item/schema/directories/item/discover/discover_request_builder.py