async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ProtectionPolicyBase]:
        """
        Activate a protectionPolicyBase. Currently, only one active backup policy per underlying service is supported (that is, one for OneDrive accounts, one for SharePoint sites, and one for Exchange Online users). You can add or remove artifacts (sites or user accounts) to or from each active policy.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[ProtectionPolicyBase]
        Find more info here: https://learn.microsoft.com/graph/api/protectionpolicybase-activate?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.protection_policy_base import ProtectionPolicyBase

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

        Activate a protectionPolicyBase. Currently, only one active backup policy per underlying service is supported (that is, one for OneDrive accounts, one for SharePoint sites, and one for Exchange Online users). You can add or remove artifacts (sites or user accounts) to or from each active policy.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[ProtectionPolicyBase]
        Find more info here: https://learn.microsoft.com/graph/api/protectionpolicybase-activate?view=graph-rest-1.0
        
msgraph/generated/solutions/backup_restore/protection_policies/item/activate/activate_request_builder.py