def by_device_management_partner_id(self,device_management_partner_id: str) -> DeviceManagementPartnerItemRequestBuilder:
        """
        Provides operations to manage the deviceManagementPartners property of the microsoft.graph.deviceManagement entity.
        param device_management_partner_id: The unique identifier of deviceManagementPartner
        Returns: DeviceManagementPartnerItemRequestBuilder
        """
        if device_management_partner_id is None:
            raise TypeError("device_management_partner_id cannot be null.")
        from .item.device_management_partner_item_request_builder import DeviceManagementPartnerItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["deviceManagementPartner%2Did"] = device_management_partner_id
        return DeviceManagementPartnerItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the deviceManagementPartners property of the microsoft.graph.deviceManagement entity.
        param device_management_partner_id: The unique identifier of deviceManagementPartner
        Returns: DeviceManagementPartnerItemRequestBuilder
        
msgraph/generated/device_management/device_management_partners/device_management_partners_request_builder.py